diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:41 +0000 |
commit | b643c52cf29ce5bbab738b43290af3556efa1ca9 (patch) | |
tree | 21d5c53d7a9b696627a255777cefdf6f78968824 /ansible_collections/vmware | |
parent | Releasing progress-linux version 9.5.1+dfsg-1~progress7.99u1. (diff) | |
download | ansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.tar.xz ansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.zip |
Merging upstream version 10.0.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/vmware')
314 files changed, 5266 insertions, 8349 deletions
diff --git a/ansible_collections/vmware/vmware_rest/.ansible-lint b/ansible_collections/vmware/vmware_rest/.ansible-lint new file mode 100644 index 000000000..3dfb0b8c0 --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/.ansible-lint @@ -0,0 +1,10 @@ +--- +profile: production + +exclude_paths: + - tests/integration + - tests/sanity + - modules.yaml + +skip_list: + - yaml[indentation] diff --git a/ansible_collections/vmware/vmware_rest/.github/patchback.yml b/ansible_collections/vmware/vmware_rest/.github/patchback.yml new file mode 100644 index 000000000..113fc5294 --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/.github/patchback.yml @@ -0,0 +1,4 @@ +--- +backport_branch_prefix: patchback/backports/ +backport_label_prefix: backport- +target_branch_prefix: stable- diff --git a/ansible_collections/vmware/vmware_rest/.github/workflows/changelog.yaml b/ansible_collections/vmware/vmware_rest/.github/workflows/changelog.yaml new file mode 100644 index 000000000..e2a45df94 --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/.github/workflows/changelog.yaml @@ -0,0 +1,13 @@ +--- +name: Changelog + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request: + +jobs: + changelog: + uses: ansible-network/github_actions/.github/workflows/changelog.yml@main diff --git a/ansible_collections/vmware/vmware_rest/.github/workflows/linters.yaml b/ansible_collections/vmware/vmware_rest/.github/workflows/linters.yaml new file mode 100644 index 000000000..6931b40ee --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/.github/workflows/linters.yaml @@ -0,0 +1,27 @@ +name: Linters +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request: + types: + - opened + - reopened + - synchronize + branches: + - main + - stable-* + tags: + - '*' + +jobs: + linters: + uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main + ansible-lint: + runs-on: ubuntu-latest + steps: + - uses: ansible-network/github_actions/.github/actions/checkout_dependency@main + + - name: Run ansible-lint + uses: ansible/ansible-lint@v6.21.0 diff --git a/ansible_collections/vmware/vmware_rest/.github/workflows/sanity-tests.yaml b/ansible_collections/vmware/vmware_rest/.github/workflows/sanity-tests.yaml new file mode 100644 index 000000000..3edb8772c --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/.github/workflows/sanity-tests.yaml @@ -0,0 +1,129 @@ +# README FIRST +# 1. Subscribe to https://github.com/ansible-collections/news-for-maintainers +# (click the Watch button on the homepage > Custom > Issues) +# and keep this matrix up to date in accordance to related announcements. +# Timely add new ansible-core versions and consider dropping support +# and testing against its EOL versions. +# 2. If your collection repository is under the ansible-collections org, +# please keep in mind that the number of GHA jobs is limited +# and shared across all the collections in the org. +# So, focusing on good test coverage of your collection, +# please avoid testing against unnecessary entities such as +# ansible-core EOL versions your collection does not support +# or ansible-core versions that are not EOL yet but not supported by the collection. +# 3. If you don't have unit or integration tests, remove corresponding sections. +# 4. If your collection depends on other collections ensure they are installed, +# add them to the "test-deps" input. +# 5. For the comprehensive list of the inputs supported by the +# ansible-community/ansible-test-gh-action GitHub Action, see +# https://github.com/marketplace/actions/ansible-test. +# 6. If you want to prevent merging PRs that do not pass all tests, +# make sure to add the "check" job to your repository branch +# protection once this workflow is added. +# It is also possible to tweak which jobs are allowed to fail. See +# https://github.com/marketplace/actions/alls-green#gotchas for more detail. +# 7. If you need help please ask in #community:ansible.com on Matrix +# or in bridged #ansible-community on the Libera.Chat IRC channel. +# See https://docs.ansible.com/ansible/devel/community/communication.html +# for details. +# 8. If your collection is [going to get] included in the Ansible package, +# it has to adhere to Python compatibility and CI testing requirements described in +# https://docs.ansible.com/ansible/latest/community/collection_contributors/collection_requirements.html. + +name: Sanity tests +on: + # Run CI against all pushes (direct commits, also merged PRs), Pull Requests + push: + branches: + - main + - stable-* + pull_request: + # Run CI once per day (at 04:23 UTC) + # This ensures that even if there haven't been commits that we are still + # testing against latest version of ansible-test for each ansible-core + # version + schedule: + - cron: '23 4 * * *' + +concurrency: + group: >- + ${{ github.workflow }}-${{ + github.event.pull_request.number || github.sha + }} + cancel-in-progress: true + +jobs: + +### +# Sanity tests (REQUIRED) +# +# https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html + + sanity: + name: Sanity (â’¶${{ matrix.ansible }}) + strategy: + matrix: + ansible: + # It's important that Sanity is tested against all stable-X.Y branches + # Testing against `devel` may fail as new tests are added. + # An alternative to `devel` is the `milestone` branch with + # gets synchronized with `devel` every few weeks and therefore + # tends to be a more stable target. Be aware that it is not updated + # around creation of a new stable branch, this might cause a problem + # that two different versions of ansible-test use the same sanity test + # ignore.txt file. + # Add new versions announced in + # https://github.com/ansible-collections/news-for-maintainers in a timely manner, + # consider dropping testing against EOL versions and versions you don't support. + - stable-2.14 + - stable-2.15 + - stable-2.16 + # - devel + # - milestone + # Ansible-test on various stable branches does not yet work well with cgroups v2. + # Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04 + # image for these stable branches. The list of branches where this is necessary will + # shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28 + # for the latest list. + runs-on: >- + ${{ contains(fromJson( + '["stable-2.9", "stable-2.10", "stable-2.11"]' + ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }} + steps: + # Run sanity tests inside a Docker container. + # The docker container has all the pinned dependencies that are + # required and all Python versions Ansible supports. + - name: Perform sanity testing + # See the documentation for the following GitHub action on + # https://github.com/ansible-community/ansible-test-gh-action/blob/main/README.md + uses: ansible-community/ansible-test-gh-action@release/v1 + with: + ansible-core-version: ${{ matrix.ansible }} + testing-type: sanity + # OPTIONAL If your sanity tests require code + # from other collections, install them like this + # test-deps: >- + # ansible.netcommon + # ansible.utils + test-deps: >- + cloud.common + # OPTIONAL If set to true, will test only against changed files, + # which should improve CI performance. See limitations on + # https://github.com/ansible-community/ansible-test-gh-action#pull-request-change-detection + pull-request-change-detection: false + + check: # This job does nothing and is only used for the branch protection + # or multi-stage CI jobs, like making sure that all tests pass before + # a publishing job is started. + if: always() + + needs: + - sanity + + runs-on: ubuntu-latest + + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/ansible_collections/vmware/vmware_rest/CHANGELOG.rst b/ansible_collections/vmware/vmware_rest/CHANGELOG.rst index 2001028e3..01532c8e9 100644 --- a/ansible_collections/vmware/vmware_rest/CHANGELOG.rst +++ b/ansible_collections/vmware/vmware_rest/CHANGELOG.rst @@ -4,6 +4,44 @@ vmware.vmware_rest Release Notes .. contents:: Topics +v3.0.1 +====== + +Release Summary +---------------- + +This release brings some minor changes and bugfixes. + +Minor Changes +------------- + +- Add requires_ansible to manifest (https://github.com/ansible-community/ansible.content_builder/pull/76). +- Generate action_groups for the vmware.vmware_rest collection (https://github.com/ansible-community/ansible.content_builder/issues/75). +- Use folder attribute for host and dc module only (https://github.com/ansible-community/ansible.content_builder/pull/79). + +Bugfixes +-------- + +- content_library_item_info - fixed error with unsupported property +- lookup plugins - Refactor to use native options configuration via doc_fragment, which ensures that vcenter_validate_certs=false is honored (https://github.com/ansible-collections/vmware.vmware_rest/issues/425). + +v3.0.0 +====== + +Release Summary +--------------- + +This major release drops support for ansible-core versions lower than 2.14. The vmware.vmware_rest colllection 3.0.0 supports vSphere versions greater than 7.0.3. + +Minor Changes +------------- + +- Use 7.0 U3 API spec to build the modules (https://github.com/ansible-collections/vmware.vmware_rest/pull/449). + +Breaking Changes / Porting Guide +-------------------------------- + +- Remove support for ansible-core < 2.14 v2.3.1 ====== diff --git a/ansible_collections/vmware/vmware_rest/FILES.json b/ansible_collections/vmware/vmware_rest/FILES.json index dadc6b6dd..378d4aa0c 100644 --- a/ansible_collections/vmware/vmware_rest/FILES.json +++ b/ansible_collections/vmware/vmware_rest/FILES.json @@ -8,101 +8,80 @@ "format": 1 }, { - "name": "changelogs", + "name": ".github", "ftype": "dir", "chksum_type": null, "chksum_sha256": null, "format": 1 }, { - "name": "changelogs/fragments", + "name": ".github/workflows", "ftype": "dir", "chksum_type": null, "chksum_sha256": null, "format": 1 }, { - "name": "changelogs/fragments/2.1.3-changelog.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "04c648a3bbce3c8a0269b66a2c07a20371500555f288bb45c1341536931400fd", - "format": 1 - }, - { - "name": "changelogs/fragments/2.1.3-module_utils.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "4c37ab5645d9311229def18a61badaedcfa17e1179c114fa677a0054816dccc1", - "format": 1 - }, - { - "name": "changelogs/fragments/allow_space_in_search_filters.yaml", + "name": ".github/workflows/changelog.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "442b843a80cd17e09c0074675c1d10886abd7616ded5603085bdeb0fd1eba9e4", + "chksum_sha256": "8b844e5e5f33dcee0858e902b2eb4fcb2455e1d23fcb1346eca048805e76ee24", "format": 1 }, { - "name": "changelogs/fragments/cloud.common-bump.yaml", + "name": ".github/workflows/linters.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7550bdbbb1a60b3b0025798117408fc09f29cde56c233c72d0f818f42508ee8a", + "chksum_sha256": "767565d9c8caa696fc7ca31d60b237bb013778a7b10a0903bca0859571cd2485", "format": 1 }, { - "name": "changelogs/fragments/lookup-handle-special-chars.yml", + "name": ".github/workflows/sanity-tests.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dc34b8d6241439822b3dad420a38f1d94fbe7f1689cb9b86949de999a742bd7c", + "chksum_sha256": "aa3a4ca5ae417a07ff5f2b8d014ffd3f336ba40358188cd2d44fa5dc43398c35", "format": 1 }, { - "name": "changelogs/fragments/set_default_galaxy_version.yaml", + "name": ".github/patchback.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8b6a4f3fc2abf9c246e8d8283896a8cda57ab16b8166ce13be01dfd8fe61b0d0", + "chksum_sha256": "ed69f87ea46171cb574fb77dc74fdbd7a269d4cad8d5ba6494d64d99842ef8e4", "format": 1 }, { - "name": "changelogs/fragments/use-FQCN-in-create_vm.yaml.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "1b1595774233b6db704e6172ab1e7a2bbe9614de216e8954cd7f5a0e111026a9", - "format": 1 - }, - { - "name": "changelogs/fragments/vcenter_network_info-dvs-example.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "c1f84cc13e19c754853175ee76d9f4c009ce005ab7f786c95f3a2d5c7bdbe794", + "name": "changelogs", + "ftype": "dir", + "chksum_type": null, + "chksum_sha256": null, "format": 1 }, { - "name": "changelogs/fragments/version_added.yaml", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "258d277b97968dcb976706c732a5df378c72263e4b71138dde713dd199692b27", + "name": "changelogs/fragments", + "ftype": "dir", + "chksum_type": null, + "chksum_sha256": null, "format": 1 }, { - "name": "changelogs/fragments/vm_template_library.yaml", + "name": "changelogs/fragments/.keep", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6948750ae2aa26c8b6acddf9b8eecc6acf02aa62b83f6d126c3d4a9a5db8f95d", + "chksum_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "format": 1 }, { "name": "changelogs/changelog.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "42497a19aa2ad2ed63dfd4ead64d18397474acaa52273ebeb95b2d363dc2c124", + "chksum_sha256": "2a7e942704a1c2aa1a707e7bccaa50fad671ce4e15109f3826ecde58e43fd9bb", "format": 1 }, { "name": "changelogs/config.yaml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "41f8a46f2012f5ab61297a300f9dbcc5a16593149e8270c56dd921c4d31e5e9e", + "chksum_sha256": "cc7aa646ed1a59e94c55a63d7293ad8e1b63b19d5b9037b877e75f095a6001a0", "format": 1 }, { @@ -298,980 +277,980 @@ "name": "docs/vmware.vmware_rest.appliance_access_consolecli_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "47a900482251ad116c2dcf7278a320fb183d4304a811b1c005b1d40631a54616", + "chksum_sha256": "5ba32a0e0fb770350f7d9b10f99be2b5189400c28fdf4361030595cc74db71b0", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_consolecli_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7a81893d1d294ef689c3f31e3ba8c7387e162f69b59c24a18c3f9035ff14f8ff", + "chksum_sha256": "8c08e2ca2eb5fbf6ee5a583b40ad96ba9b9dde83f2c61735815d7a8e8a1b0448", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_dcui_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "599547e3be65fb6da56e6aa150df33bb21b84120108cee32d02601b3edd227cb", + "chksum_sha256": "24e9b55148c6781215aa92248464d2a03fa822d5037fe60977f192fb68da6095", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_dcui_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "247f10f3dc95e72a45f3f1d19e27050d1a13d976e62d8ddb607b18eef57b8fa5", + "chksum_sha256": "c4088b9168d960cf28a53c7c1393da5eaa222c8d0d9b92f321dd9fa0e33cac0f", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_shell_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4844df0c847ac830d8c79680bdf0ae0746c497659c2b5c53a27e836cf2b280c0", + "chksum_sha256": "25976c52d76c354d3dac7f730ad77e3d06f99b6c139c83591dcbfaaf9851ab67", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_shell_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "349a3ad9ec745bf81d77afa061d979482490efcfa9b87db26ba6b68c40b78163", + "chksum_sha256": "2f75d70af0755b9d20d3999bb9394380d8d0e45bd060e5d04b507311f1597600", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_ssh_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8359b65beb437596359074bd03a0d414f156fb52c496148ffc294fd18c503acc", + "chksum_sha256": "192c34705538033bc6fc388f5ed8920e94ca3098295afc31d99d1afb33e90c4c", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_access_ssh_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "67332c7b4c9050500ca9b44957c58780ca88065cc877b0e569eea85e588fd9e9", + "chksum_sha256": "e08fb2b29b6f47997d5d007ba11dfab18667609625b27c81582d13bf52935f63", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_applmgmt_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "55ad18edd6e06852a358cf40072a5750076f5a99bcab855c737025e3dcd87938", + "chksum_sha256": "063b6729f4c11f6d3541af0f05b5a4a5b7896ccf8b836e6d81bc06c773f8f24b", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_database_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a7fd9283c2039d228b0811f37c927c97ea43f956a8965ddefe0990d9c16b03b4", + "chksum_sha256": "2fef54307582a9be469b9f9511d5994f6d5af182a666824ad5004e147bdcf2fe", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_databasestorage_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fde65e0ff6932ebe1f50b5e2a07f6b3332f1861cbb8ff74fc7d07a274a683486", + "chksum_sha256": "fc8e69dcdc1c1ca128142b3d556b31114066fc2e98da16dec9214298e7a73c1c", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_load_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "aec2af492fe1f5cd521de6fa5e903a2983b0e94559bf106dc2fcd80ec9905026", + "chksum_sha256": "517bfc1cf4c0f681e0f02c5414404aceb00d06ae569762f5141a4eb4f8eebbc2", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_mem_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e330bc98e1cfeb693b9223d03c448a013a8eda9c0b9b83c47837525d90c13393", + "chksum_sha256": "14fcf108f3e85f89fb0478fb8f4a68c698be9e0b78e07c44c317672a8205cf3c", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_softwarepackages_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "55b2b4369bc792fa6454f95c12babfac2c0c4308a7d9d319b03ea50cb170c189", + "chksum_sha256": "636acaec943818b241f722bd0d25e210e0b32c31fbd72569c9a49a79b7c5eae9", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_storage_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1fd14ab772f59bc5939f594b200138e00627d080976f7cd406b3860ef131d5f1", + "chksum_sha256": "28f5a5d4de10e17491fab5e35ccaa9ee443839f866c90c457a64e338ed70ccc0", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_swap_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d10f5b64b2da8dff3a2b6f3f0f71c8b24f27502b4424ff000e2c19390e72a2a5", + "chksum_sha256": "802febaed9cdab5f49c6f7afb1eaa9f8f0ca35dcc18a2b8f3e7c6b9ef260e761", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_health_system_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e51ee0924ff984cc5d5a279081eb114710f3a369683790baa13ba0f28e0d4b17", + "chksum_sha256": "67a3d1ef1991dddcfe7cd9cfb6294eb14991b4c99cdd3a72c89f7546cf4da90d", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_infraprofile_configs_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3c1bd931aae5b312298c86579c55a1c15f5d3cb7aeed01ddb806e03400a11f00", + "chksum_sha256": "3a293c1e6ba37f13b49243c318032c0a19a87546fe19deb2e71dbd569fa0fb3d", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_infraprofile_configs_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "da536c660a85673adc0b4fe4de525df4826aaab99c28055caa536ec05e372442", + "chksum_sha256": "71ab1102e4863a1461d5fe161cb8dc4939a961a773a24d70ebb2fb149f252d95", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2886cdcd439f056a93b91dfe8e8c642914c8b9a57d37d345014220215599f965", + "chksum_sha256": "b7aee05e870ed6f064f24b8a51a819a3b9ec7d44a00de1e4bc933d07d5568016", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d67eee0e643ec3adbdc7f07f4bf9ca7aa90b6ddcc79bab76e2b5921ee630607f", + "chksum_sha256": "6763c1e7b8a9285bbeb90933e3a73121cdd5bd28819d3be9aa0a0d437a6a1ae3", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_localaccounts_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7e3414e0f93aa93306ccf1a3bad85b5beec1ee2fba96bc09a700e80b8dc55266", + "chksum_sha256": "aac626bc69f525185e81532e311070b1ad8517ababc356ed06d79c9dfcea63a8", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_monitoring_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "51cf128d397902a2899eeaf3560880c07e1986f2bc8a5dec860424b0765e2735", + "chksum_sha256": "fd38853b0c2d1db029922964f92e9b671018304f9f9f888d712ad5ccb5dad0cc", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_monitoring_query_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b33c57013d08bb6985fd8be5b57c2a7aba384d40f0ff6f2f5d1fdec7315eb7e6", + "chksum_sha256": "01fe15e7e994d1ce478541911d7ca449b55b1e65840ac3c911935fd7c677084a", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_domains_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9d725cf960663464a5ea0118e97fdcbd56702aff937663e9fc4ee70e3739a55a", + "chksum_sha256": "757a3efe161fdec3635ce49e74f92c9012ad787d05ad63fdf9992649db2cb173", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_domains_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6179fdbc309f3e775886307d563615eb5750182775e7813dbd978cf4239e8844", + "chksum_sha256": "0273491dee8677a81d3afd3927720b91e861123ce2b2caea214073ef28d2ba65", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_hostname_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "32bf34f90db8770dff5f93c4c3fb5d4029aceac6aaf024257589ae6e056776b1", + "chksum_sha256": "413179da5e49b01ae6545ac9144dea10bf5095ad25ed9e273b0794a3781b9f44", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_hostname_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "62c6100388934bd8c31c049796b60dc85cc087ef9b0ed6f42f1225d11589b92a", + "chksum_sha256": "06955f0f54ec0b6622ff79cc264c52275d3cae0326e354b0b45bf64d97ef7567", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_servers_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6f2b1e7e5a320dc66fa2e024a1a8c7a6c7c3340edc448dec7396cf76e39d1503", + "chksum_sha256": "be555312b78effc73b84d90178ee29c9e1977f336d4d7f45d0feb16f55069f00", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_dns_servers_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c51e30dc067224564c6c9a1ed567eae30c868a22d94bafa1b3087bbe18e0c709", + "chksum_sha256": "5ad5dc9d856d5ddd03dcce108ce3296fcc19da57939b48ba96bf3c0bf89ad0fd", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_firewall_inbound_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "67f422eda22a0442b75beed56961f6893517258b5af1f3270c8596e27560a972", + "chksum_sha256": "0d0f2ab2f8ca8df09c3f1b79d8511a9ada34da216030390ecae358ccd7509c8c", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_firewall_inbound_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "892f03b6cdbcb0a21001833cfff87e7b68ea5f6f6266b8a28b4e76fcb001efaf", + "chksum_sha256": "1299229cf5d806e64a78393d317ee39bad476ef0a3432fb842727d8370a0e81d", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fa2e35b1728c8230f632cca823fd090247b65638621cbbdc06a7985b81e90e89", + "chksum_sha256": "1961cc21f3fb9dd102d8ad66d42e9ab437c7c1e7270eb68688e8c48052411e0b", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_interfaces_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9b0c06d6acbeaf373186fa02f8d36a143c1511b73cb24158df45627e65bb85a3", + "chksum_sha256": "3b17273b6da2a1133c1a8df2484c933e3e9770eea1bdef467383c570d3b14b86", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "390eb101c605524a8a62de085dc417d683b51d849d3968c0014ace71b8fe59ac", + "chksum_sha256": "8026dcd3115cf25e7f9fc6352be8d983a37d1949598ba6be3777d150471718ef", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e9f8f5f02f372a306ce70f7f8b0bef9feb9f420c743462343159c707f4f3a759", + "chksum_sha256": "e2dc86f44e5efb657a3743b6d1f6f842f11a6b6d84ec64c8ecb87100f5cc82ad", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dac68fa05b4cd09dcf945bdf3dbda11740e904a5a0503455d151306e64bb663f", + "chksum_sha256": "932c40c1628fbf334502b6ee90fe2c7483516a3a2ad5a410058c48da2ef2b605", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2d07a7d4d9191543343234bd7636504e4a5da9baff56b7c1ecdcf62a8421b87e", + "chksum_sha256": "23fd4f5b45fd2d962cdcb31ba72903cec7ff543a490facba25573f941f956fd2", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "066c2f6a8eb2398dbb872b7d1217ce5f60ee1fa54d78b594aec9036e0e6448c2", + "chksum_sha256": "938eac2ccbaa54096c91fc3c3991c78b4075189d8c9b58dd6a0e56510d6b8abe", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_noproxy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cabd744f5018f26c551cdc8c09f05a08ad15856eb0e70a6cc70b1c1711bcfbfc", + "chksum_sha256": "f62efef0a9ccef6f7357f3f0622861f6c3805624025a406c7e4a56ef214c30d2", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_noproxy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d75d88df56f592c25f91ffb22d544e097d153ea92228b595da5539eb24f47274", + "chksum_sha256": "3d94f1c1df89d7714fce7499679d880ab124e415bd140d1039cb1452cdaa902c", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_proxy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "49d1487c2e8ce733d5eb6a34fb858b6e2d23a8b1c86ee1d28a57cdc2e3fb1fe7", + "chksum_sha256": "8ca41d6a814a16a5fb447af4ccc6475f7045ef9c6187c7862f707ab7ae654c8a", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_networking_proxy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "67948ce1de5e8437faa55e53f04386522dae66e76db3687cd89277cd73ef6ae5", + "chksum_sha256": "20ba16872a6151d7d7a9f92133c34a916d4976b99eb1090dd8d01347d6a2bb45", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_ntp_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "666127c095b585b863bda41c9dac1a84a529103dde8eee7cb0c306dd4264c967", + "chksum_sha256": "240fdc969ae175e39707110017d015ddf21fe06c60dd3a021a693e2abdf02ea6", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_ntp_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e65010d6b60747fa49a7224e2d29d57afd4d2b060e1b3c9e77c2499471dbe652", + "chksum_sha256": "0c5cc41c2f4700d3cfc705ab4d525c678a92b849b3d67d6629217cdc75015a99", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_services_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c7703c3549c20fda9a06f15c6d8b43b5e66b986aa6146db38263e7be2d36f8c1", + "chksum_sha256": "0d344df960e8e3dd5905b23f5f15cdaa2b410b8fdff52049dfe34ef62ac10680", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_services_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5a1a7a13d8c1f11bbe2305f96436a231299cab74dc1dc6c2ef27b64b3c4591e8", + "chksum_sha256": "c4b7c153013df1f1e37dbbb401458355c65ffa57d2e1be0ddfe453c8eb549cea", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_shutdown_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "71d307a05eae2057954d391c8a87b4c8cb20b42339935cea5c4bb6fcf701dd6e", + "chksum_sha256": "5cce02d74548651e31561e3b38bf5aa17b01abe11afc82614cab3ae7516bea96", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_shutdown_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fb6a8f277523ad15819e06440017379b574691fc5cc4957a91fe757049331d09", + "chksum_sha256": "cfe015db066831056827f58a809076e55de7218f9710a1fb7430e95cb8da3243", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_globalfips_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8ff5d67b1135af564493caa0d1c3492f336b70bc90c4ff81f488a8a2e8ee2f07", + "chksum_sha256": "fc3a9ded54fa0b87a77cb833bd513bf3229db459df19257328157e1d84a37c2f", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_globalfips_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "981b1dadb732ca7103311c7b948c78f9ddc78b3e809f86a10825c8f27c9e1e32", + "chksum_sha256": "4897296b97fd85b797d81b556b45e4b3c8664714f35b6e0880f70b462afe10df", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_storage_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "68029107559830c621cd06e06646808e44abdb18a291a89f3274c4f21c287974", + "chksum_sha256": "8d8638d2b00799d731a2e553a4849248a7d82e05c0fafc72a91d23f38d60747e", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_storage_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3c3753f0421c3c61d54e8975cef5ee477285f19214bc6776ef135ca732d628ba", + "chksum_sha256": "0c5feb80ac74feae2025b7595e03498fa66038f28d7558bbb126402bd52ea992", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_time_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "684b23722e460363214206a22848138514846ec86fc35f3fae2f0bcb74b77dad", + "chksum_sha256": "dab557c380e26ca47c26f8f2b2ef10b9d1fed9799498433541fc78be641de085", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_time_timezone_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4ace4bfcd9774e9f6d8e94152a0743c3a180fe261f938374a724acc5afda086e", + "chksum_sha256": "7f8b4855a799bb6f6b60e0f2610f5d44eaf723c8c08104ec8b2f5d6263dd2672", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_time_timezone_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bb12a8355547dbef8e18bddecd777e7daa738ffb5cf952690939c82a4f9160b7", + "chksum_sha256": "aa6c48bb7370205851fa89a5b604c2f5dbfc1d32ab0a0502cb694a3e297a83e0", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_system_version_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "95b3c96cacd51fba30a2d07cf8ac8998301b31d8e44662f17a035c5710359ee5", + "chksum_sha256": "bf9bbd83d77965e22c3bdb6edd36e50171ea101a4b2bbe8cf9d0281b164561e9", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_timesync_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "dc29582c715049ac37413197e8972c46e49f97c58ba4f46eb9bda4b949b43d63", + "chksum_sha256": "2806fa055f95c6b5cc54c3079adee1de05a51a1836dd25f46b075d3493470c61", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_timesync_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d0bd357c947fb98cb40a018c48bbebab2d6f7f5bdc81252d7f68dc608d532d44", + "chksum_sha256": "ee2aec0505f732d70589e164df4ed2547d4022c91e1df811886143e49186588f", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_update_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "229ac54dbf73d12f7ae1e3764fbc4284929c7b3a0dcc32107785414abb3e4197", + "chksum_sha256": "689ab10e767f12cb163cf5d019339488e927a36c52acaf4e758c51da3625c09a", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_vmon_service_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cbb3b2c394b8f6ff57d96c8a0071ca71318d677faa78278adbe618e64f11382a", + "chksum_sha256": "f8606604a36dbc0f82b89361e3150ae8b89bd15d3814605a68b4f4bafb9a72a4", "format": 1 }, { "name": "docs/vmware.vmware_rest.appliance_vmon_service_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "152c27793d8b0d1e71aa77fe5e008a56fb5f48e991d5763d8f7db53c06682e8c", + "chksum_sha256": "0100469c0891e110a41b1721f1a951cb99fe8a3e58652582fa8c83c2545a9c92", "format": 1 }, { "name": "docs/vmware.vmware_rest.cluster_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2f965f4428cbfabaeb653bf73d6d3cba4f0afc39c152c9877f37607fb3090a25", + "chksum_sha256": "4c2179febaeed7e6a607776ed0f3b8af5b9b10d1bb63cf3fa0e4e1203f157c6f", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_configuration_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6669d1b018b1d28684365967763bf17a74743a69c228b19cedbb9ed75c42f00c", + "chksum_sha256": "de8cf6d955facecb54a2551cb127701294152800e972f34a8a60c9c8ffd12f7a", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_configuration_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e157b206c419e6845aea0158b156c5e03fd311b3906307c898ccb40c47fdaf71", + "chksum_sha256": "8966d6cd866c66e77f408200b053b29dd6b7826632e9e02a6f122101200416f9", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_library_item_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0b10de9f28001d15417be3806a434fd662d6f8b2466673d82828357981168d99", + "chksum_sha256": "014b3ef2b3753460d34a1d3f0b2ed6bd235c4a218270e154b16f934d8ef91773", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_locallibrary_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f02dcbf32106034cd91babe1ca93ed585176b595a9773f5e6dc0889e10d5461d", + "chksum_sha256": "9590dedc95110c71472a1dc8ed5009621afb49a0b7c9b576664fd9f2f196e7f2", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_locallibrary_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be93033d098fb404b953fd892dda465d994c5ae566ffdcf9b47f7cb81175786c", + "chksum_sha256": "b37d3cb24eb1995dddb6641e801347a546821a7d2dd3f17434a02d1a70dc2eb6", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4311f16ec1e06a382f39b0ab6ee7091a22c611b9923a7b906aadd1e1d98f0307", + "chksum_sha256": "3ddfead8b4aa99812a91ae533a580b1cc3a4b7e859d199956125a4182db78254", "format": 1 }, { "name": "docs/vmware.vmware_rest.content_subscribedlibrary_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5d6f6b30b629ae90da1587f83fce7fba145486878a7722519e4a5c21c198f2f5", + "chksum_sha256": "41ac9d3b154cafb1b9e3e1c03bda28d692eb435b63e1595f493563e7e17ac82e", "format": 1 }, { "name": "docs/vmware.vmware_rest.datacenter_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "546e834eaeb4aea016cf50079abff89daa77f34c36ca1114806ebb12fadafe26", + "chksum_sha256": "d2961c98ac983f99af7b1215a0d5df5426b946c6662c0d664b68b2b9563afa9e", "format": 1 }, { "name": "docs/vmware.vmware_rest.datastore_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4be7c093071006105a464241a10198b286d67d327f221c16ffe3aee540cc37bf", + "chksum_sha256": "a9e9eebe9fe338e4d78cabf5a13cce87e858d3cc32688a7a173a0a841e17d1f2", "format": 1 }, { "name": "docs/vmware.vmware_rest.folder_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ec8606e3337cde178b2345817b07f5dfecb6ffdac3ffa0c4b34cfd3d8fa1c9f0", + "chksum_sha256": "cde3ab7cc7de424684cc4cc3c5577eacb1ce10a6675b613f3a6ce17784e173f6", "format": 1 }, { "name": "docs/vmware.vmware_rest.host_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a591380f337d73799179a965f768fdbfe29e454706ea3b28a58e25c96115b693", + "chksum_sha256": "2b1ccde80ee970ddc17a4b5920a4a8182afedea6eede15bc16bd298e866f89fd", "format": 1 }, { "name": "docs/vmware.vmware_rest.network_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "79cd893c65f9f48ff77d0ab61a35f99ab8062797de9862c939522e8eedea86ac", + "chksum_sha256": "2edeebd3f4cd12d2c24af52a95e1bb4edc79030a36957e9fa23945716bd17525", "format": 1 }, { "name": "docs/vmware.vmware_rest.resource_pool_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4b3f95b7eed54b88515243aa2124e5b328f3482a9f4e97c5e8996e5d073e9eb5", + "chksum_sha256": "2d7f85f20d3cfce6da335566dba152218bf114606e034a53e34bf3400cc06820", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_cluster_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c4752e59268a072918dd09dd43728562f726720ffef98a6b4b5ac6b645708fb5", + "chksum_sha256": "d29733317371a1097e2cfd55763db2f45e050a861fad6ef0ae720c13fb7b56f1", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3811a8df728192dfd541e864bad0837c27faac9bdcd7ba6f5d2060f6fb13f0db", + "chksum_sha256": "50c5c3b63bbb896ed95c50b1387a51a3a129b54ac3476a3377adfa31037045dd", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_datacenter_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cfed6abe15094ef33cebb1e7049dd1b359f1375480b675e1ba33d5684e62b94e", + "chksum_sha256": "4891b8e1e27579ed02ff708add2907d65ccdbb0c2c75dcc5ee3598b426cdfceb", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_datastore_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fae86c101bc7059c7581e917f4051dd42fd53b57e3b5227118e85a2143f1c6f6", + "chksum_sha256": "502f92cdb717f506c728af3e725121150a3d844c71ea1550f1517c409e41b993", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_folder_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5e7fcfc027a94d51aa4d49e88044736e1e409256ec3365c3d50a156546208f18", + "chksum_sha256": "e681c8c67a1a5d17ad29b1d85f87c6c8cc46449c424eecd3832b0059fc593d35", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_host_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f5424dad48c86a5834b884061745a31ed10691c43020850c7336b4fa066a6f04", + "chksum_sha256": "b433ff5d30557710dffa34d9afb6423e7861b8f52bbce3cb9b04772e18482a27", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_host_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3c42659ae7c9a2f3cd4cf43a6b9781505d4776d2bc6ba291932ea430dbb343fc", + "chksum_sha256": "49d67b89204d3875d68605f2323c45f710054ab15ed63d7a58fbe4061e938e9b", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_network_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f3b70ce251d631a5031806040aeb20628d77f37104ea642499f43ac99c3ea11e", + "chksum_sha256": "ba819a77c04e6fb89ddefe75afa6213ce866d168afa6600c48536e28f8c94d64", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "74f81c123f530c8e0663d3e8ad5d7a423dd8f158227526f935d22369b639357b", + "chksum_sha256": "2cc0439eb9e5f4859c855cff257edf7c2827e4f03ab55d4d3d3f63c20d0684ed", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "40b759aefecc05634cdbb5b0cd3e72912e21e9903718d4433bb9389860932685", + "chksum_sha256": "d6031f22ddde195245f1655984f4515ab3df05070b7651b052b041fd3eef2135", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_resourcepool_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f9b075218a254e2c98c8a90b245971521854a47d9000cf0409b46cf3e3b773db", + "chksum_sha256": "b55358dbb0a0bdfcd5cef52881274f20164e9ed26aa3ef206ce4b298f7022821", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "81a2574746ac8fe0ebe1e27ab00d31dd5405d6054478c6d0cd6a3a94be3f9b04", + "chksum_sha256": "ad741108578df61bdcc0075ffc8b4ab820d12c6e97b0fa90a1e38796a0abe5aa", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d2a67d3aae9e7e055e360d632c7c7cab31625d3744bc2051ca6873b03c4a91fa", + "chksum_sha256": "f29dbe7e024cc016be603f9a7e49ee1e42d4f8f1e1cb9abeb64ccf1e5f36480d", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_filesystem_directories_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7c361d47c2c29f73e509ddbf09eccadc180d4b2eac55d10c10e356ee03f6b641", + "chksum_sha256": "ff8aa85bf2e3994c50987b3f72f04fe593550024de06e751d3d50cb93a8ce227", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_identity_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4282ceb28ac07a8d6cf16d23674bc1caf1c8b2f36a61627ab50ed9849e1ba191", + "chksum_sha256": "71a4b67424db451ccba4ce762e59439ad14ab3c22f871915832ad5423777b573", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "10c3b127e64e98b487ca2f1b3ca59ca1c6a553f91655044746ab32c1d67435dd", + "chksum_sha256": "e99538b940c75278c713d32f5434930fe24a89732cee4f9fbb01a25bd0fc21f0", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_networking_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6c752fd40f55108a3a3f4e2ab2533279ff2a0d90bde7c81ec6c84657f49bcc7d", + "chksum_sha256": "65fa4908b106b06d71e3261c8ef4c566df0a95ebc5e2b68a10c157333b2a2827", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a3537090afff5485b6faa513c0aa3cdb1a4d2ced9930152ea530934029a86e02", + "chksum_sha256": "915f59cd9fd88db1ea97a2051f789eb16192e63d7f19a1cc0f9e6d456e2b5d86", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_networking_routes_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4938c08e510a112f0620c7700b172ec2c3c500c80764d18c70a692776c4e5881", + "chksum_sha256": "32c637ae8389714e227d12fdbcf82b549c5242828e6e399da0b01333339f7c79", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_operations_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8bc884689b4791eb72db5020bdb613f6f758a607e8c1673004f9d88316e262dd", + "chksum_sha256": "52e2adec61c279c5ecf5f592646fb9eda5808200d7790283400d0c07f3484728", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_power_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "079f7d7423ca0b1fdddbd6f4de332298b1ec2a18102feabd98b3eeffb7cddc2b", + "chksum_sha256": "c582d153f5e428a8a20bce26ecf87f6eb37c0ff2b21b035b8a9e046e45176d24", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_guest_power_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "105b04dd7d516323259154fbeffa641f99f278b2c3ee2e4a7b8a6bf43e554ab8", + "chksum_sha256": "7e55069eddbb792fa05e5a48896fac418daed17ec16cc20556225c0fb02bab50", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "de787b5c043f2d8102ef7c50eebdcd940b3779138537109f6a1c7202c5b6d1a1", + "chksum_sha256": "1c9bd41d3085394eaa2d16b54e95ab2a305a9f8035124d954c8cc2391ad52671", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b3836286e8a7a15bc543d2199441b10d3c240cc8db599a373a153ce4c0ab9a73", + "chksum_sha256": "cde8f6fecb12ddd92555edc3d5d5863a2465db943656987b5f0b5f7c62346ade", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0845ca3e33d1d09e5abedf5a1170acb8f4abf15a940dbc8a37e478f8986cde91", + "chksum_sha256": "87ec3557b7f080fbbac2ddf08c43acc435ba9846b5eda225d9621d5a83fb76bb", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7ec441557bd83e2a6d9dabec548ad769b48f66000cfa585edd4479702903c8f2", + "chksum_sha256": "2e55006cb7389b18542b1d84ecfee7cb1276b9ad57662cd53986348461a5d5f2", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4cd2eae2d4e8870693ce7b9017af1e5db7729f3900227e55abff92e04277a84e", + "chksum_sha256": "daf608a704218c466af6ed2973bcf5055702f0204a6ead9ba3355cc8b30ecced", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "38532a46e98e7d7fd5a4896ffa45da48834e023a0e2a79cf9063eb7b6fe673c8", + "chksum_sha256": "79d13b54197cf333d36f5f4712910d9c4df17e6b996804c03d38cdaae2d6e53b", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_boot_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c9e6588fd86f3d0719fbf13facf1be1c6e3a9fe3972c4d376402bc0ba8450a58", + "chksum_sha256": "df2d96a8af02be98de7221a9901c000b5149a5f7623674092e3c8da428e5240c", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_boot_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3496e5b8cf1bbe044c4e425a07cefa8ad25c157cef80f46fc7e31889d6200170", + "chksum_sha256": "15e5d0b65843a1aba97885b59d762228f0527c8b44583b3f2586afaccc880db7", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "499dbbe9cb7064e6014abedfde6517733125ddb0eb0c17b02f862a32a4314a5b", + "chksum_sha256": "15019b75346d17646bc1f5d5a449d2d745ef840299561f1e1f55bd9346eb66c7", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cc1ff274613a32f213ab5e12405c164b6a8c7136ec6378665f312fa03bd7940f", + "chksum_sha256": "d59d374069a5028fe3d33996d0a05873d9ffd262af8635a6289479d19df7f85f", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "124443285bc24f35e98929c0288a8f50bbd45619a6af0c7d654d5ee27435f88e", + "chksum_sha256": "9f0fb4baf346845ba861f250eccde4d01e825e175561ac08a9872a258e97b811", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c3984b01767c3bb997e09d39cd8e14caef6a73571276dd5802e9b6cbe7f5911c", + "chksum_sha256": "301175e738a650c37cdbc89b1b69bc4c8856776e80c6a186a090a64d06c461ed", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_disk_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "377283e64b06e4bbdbfa6c093307782b9725d620b39dbd7a34d61c78329368cf", + "chksum_sha256": "3b425f4d207da77dcc723428373539f69c0125f348661c2540195ecde66e74b8", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_disk_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6b5a4f201aca73e027d67f97a92af91c6aeff477d2103869f42587c782475c44", + "chksum_sha256": "bf0fcf248969ad98b33a8c8a56d8505ae1098e5dd73856da886c8f31fdb0b69d", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ffbaf78a4195b4e48cbabcab261d77e315dba055c4d1366d1a8f3aed18b2894f", + "chksum_sha256": "067e916f1b08b7f5a3562e264b7215b4e27639bd5c60eaeac9d49194713cadde", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "646209d03f04f4d0537b205340fd4fe0947dfa1b42dc36c7e87c11737623d6f8", + "chksum_sha256": "7994a8c7f62fb6f9c3d4fc661625ed9fdff27b5a2980ff79cc3e34f1f3e7325c", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f22afd125c9e2b6b18e99f954c9d27d741361f390ef0b3a3fbb9d67bb0d3b451", + "chksum_sha256": "1ba2e33cd6a3f2acad1d2384f0bd75f44b38e596343ecacaf7d19062488d0312", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c679d77fe18640c061b9b7802fcb94721f78e273a0432050d70b86011dccb4d4", + "chksum_sha256": "6ead26a1efb2b206fda4b4e1101f78d65fd9e3cf90f408dc90a13265ce896b39", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "afaa94535cf769cc04807a8fed2d0e83d5d1f90126e487c846cfb784395e4386", + "chksum_sha256": "80117385ea222c6a8a1285fb895110bbc73c401fc9aaca567fe5fe6dd9c9f772", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_memory_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c8e8e4676d7306e5fb3c75dd7a55b7b556e1cfbc8df35e081423f0b2fb74ce39", + "chksum_sha256": "60b3404d95217078029598233dbdca91c60620165cd6537c72433b4aad3d37fe", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_memory_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0f2e87835660e19c51096963496507bfdf493a180a21f20147bcf41f0861e5ee", + "chksum_sha256": "0ff27c7e3fc5587ecc978c5801a049d402c1ed2449bb42eada493f7800b652c7", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "810dc41c7fd95c1dd8af05ba485d67ed8a74fb00d86e58651201ab9dd20e706c", + "chksum_sha256": "c7232b2e64c5847e4d7ff9e973b68d031f488a9e8e3772a636ab8e1a91ffe021", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fdbd4dd30915a3b26ac93901e2450d919c477051e0b36c3f2e909a08d2ee524c", + "chksum_sha256": "9f8f2779096eb863476cd1d948a69c6b98485758bda4028c006c8b0beb0159d4", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6778ee1a2513e42b44dea743df409ddfdb15c7b5dfd4aadcd2990a7acab09b5b", + "chksum_sha256": "ae37af99d01136e1bce499a2ede56dce14384503900d932ccc05c3d9e5a74a34", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_serial_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be8563c515ca9c2393a49fb9ac0a85ccaf5d5840f74cae923b54ce0d0cddb21c", + "chksum_sha256": "82abfe5ca66b86ab98ad302d4406790ddb5f5666d64cea43bea8253f3db13bef", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_hardware_serial_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "03f6c764cd176b9c1ce79232e3e4eabc6d167bb3f945818e4a979bfe13848444", + "chksum_sha256": "47a813abc4e406e5bacc1d96d69def89a465bf57f69f0b7cc2a3cb893858d3e3", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bbe519d36eae87eabed3c50dd404478d950e9caf07f0b95d80e725b196295f30", + "chksum_sha256": "3b0f766ea47af7c4b798c9d2b1674c0b82c4a792966e45b3f38191a7f23e93dd", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_libraryitem_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f48d6e4c2dc280215b0d71f1ba246f0d38dc73ad490bc4545a469c5ead6a7a70", + "chksum_sha256": "14a429cf08b48ff1bcb321d2432d71f8aa7fbfecb4318882b4cd9efc5382ff3e", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "932f355a90ca00c10af59730f5f2f0ef12fed1615d449b8f184401e36863efbe", + "chksum_sha256": "56ac6b71be55ed5af3c3167d56ccdbdc83bb7a44a7e6708ca5a2b60cffdc82d5", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be59cd795994545a857c8e2b67b19ba7e1df1ba57e476bb483268edd07ecdec6", + "chksum_sha256": "842bb5d781ac5023e749908846e65f8c865c4003b084c341002df4c98f2b5b92", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_power_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4fcea17d4f2a0fbb681ec583f03a20380fc068c52aa4d1a047f67d080a587b54", + "chksum_sha256": "0bbc00036a2d80c21f8e251d5507350cadf830459ec1959f08c8487e0b809f24", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a004fb90becb84075a22e342265e79b66bf9b5aa5a68707bee0f538074f358d7", + "chksum_sha256": "d5e22df108fa899e2a6dbbe247e5c29911567b36cfabdb01d36c2317b466073b", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cb7897f17ca8c54bca702e4b58070706c166834ccefd11cea883f5c8c6425060", + "chksum_sha256": "87561d209e55e7f3295b2f30a5cc1c1c41a380d6421d1b442591d1a31265fa8b", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1e92827508d853f32c77a7324e0d82f93d7a330595a040af55c574af5a38562a", + "chksum_sha256": "2f1e27c6a4c111e1ac8507694d60c2b09628c396abd102c1814dd962c601486e", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cf0be7bee26f23a32383b66e03974781998742e5f61f9be7041531130c63fcd6", + "chksum_sha256": "b19d36535db69438726e802ad88e02a75053781db1709c487b941d09ac0c9ecf", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_tools_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2da26a3cfc94f113efc25bd777f44a62b38e0e70fbc616994a5fc88ee274c52a", + "chksum_sha256": "71cfab18dcf07483d417f0da2ba1b6cb970fe0a9d51883968bf94b182c2ac130", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_tools_installer_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fcfc248d301a41107fa0570730eeb890f9638d033ce18a53223eed731ae4d520", + "chksum_sha256": "65715e53fb0b20878167328ce130e7cba04ffd884dec6c9b547faf3ac69d85cb", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_tools_installer_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ae63bf061802dbbb1f377407e08e1c85ee9931a2e21963a38f86c67110c00742", + "chksum_sha256": "33084c0da5a468c42d5c9d82aa7ac8080add32680af57aaf42e0ba9750bfc6d3", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vm_tools_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d57578770241a1cc91bcbb445454866b57dd8ee3a98531a4fed45a1247d26375", + "chksum_sha256": "6da5db503504403686915837c6018fddcaa5d5d770f63e10833e83f76201a693", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_info_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4fb1bc59af222277ac830fb6de4e231d2808fe70e7b9325c40c051c5d597b2a4", + "chksum_sha256": "a0b978ee21c489db4bd2e2b9456f72cbe9c6834b76798b6776cd5dca75b933f1", "format": 1 }, { "name": "docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_module.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1ea70b55e91cf7e636f4746d661a1fb75c37c3393d08538aafa9a80051a82385", + "chksum_sha256": "12243def2abfab0b87f43beba5649bb78e97d01f67e573ba67900d9d76a5a3ff", "format": 1 }, { "name": "docs/vmware.vmware_rest.vm_moid_lookup.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "104960c1ab47b70a11b83248f8550a2fbca0215ad82609bb2b7c82dd70c853fb", + "chksum_sha256": "5e20391fc8de1d6f84bb91db4f92125f113420709b5efc7fbd166c087cf57314", "format": 1 }, { @@ -1460,7 +1439,7 @@ "name": "meta/runtime.yml", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "df18179bb2f5447a56ac92261a911649b96821c0b2c08eea62d5cc6b0195203f", + "chksum_sha256": "f20da6877dcf689513d116dd37e0a2d8e5ab2477e62b462d6aedfcb59d8d657a", "format": 1 }, { @@ -1488,7 +1467,7 @@ "name": "plugins/doc_fragments/moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2bd78335597f37f8ee5835b66d8b80210823128cd103afd2d4eb44d126d025d3", + "chksum_sha256": "567a29dc6abdb939ef622665151b6c0bc1d54b40e4697d998a4546a6b6deaecf", "format": 1 }, { @@ -1502,56 +1481,56 @@ "name": "plugins/lookup/cluster_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "abcd61cdf2a96e75a650aa7f4192d45efcda780f10067707f41a6ef4e923789b", + "chksum_sha256": "eecd7f37c12a7455dbb7839088cc2190f548f2b2111317ad564a336b2486a6b5", "format": 1 }, { "name": "plugins/lookup/datacenter_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "90f5d46e2321646c1355992f052dadec8547abc8bf9990649068315721093a3c", + "chksum_sha256": "eb8d9b3906a26d702983baa46ed41718d9dc6e85ec51ea76220bd14cd42af600", "format": 1 }, { "name": "plugins/lookup/datastore_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "77a58c0d96a511cfe47375d2766fe7c8168423eeafc30e92dc10cef7302a65b7", + "chksum_sha256": "db7f81381bd0f28c0a26087e514da5c1ee9a57aaac2f8a7254ea945598b41bd1", "format": 1 }, { "name": "plugins/lookup/folder_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1f786f1d6b27f4e7045f5c22792ad057ab26b79e38b8cbca41a48162371572c5", + "chksum_sha256": "dff7e981e07bb471f933060d6ed65fa4801aea727623ec3e90d11bc4ca10fa5b", "format": 1 }, { "name": "plugins/lookup/host_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3235ca2b167e986550d3485fee165600ebb912543f9598f322ac3305f61fadb9", + "chksum_sha256": "455b74e42bb2e641004fb320182a33e5ff23746f25b40ffa32f235a3beb2dde4", "format": 1 }, { "name": "plugins/lookup/network_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "20e9d681155f037e99bc5be378e8ba5cddad1a78b903d05fda6fa8073a713154", + "chksum_sha256": "96e0c732538447639467559b1c28a1ab437138adf00a2c082323e452b67a7623", "format": 1 }, { "name": "plugins/lookup/resource_pool_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cfb6cf7aecfcca4347a8accef2bf13f32cdebff35a6ef1e9dc070034a588e616", + "chksum_sha256": "4eb96816b1f83a3091acbe08886956046814f6bf5aeca1b9144bd3d7eac5aef8", "format": 1 }, { "name": "plugins/lookup/vm_moid.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "215f277912efe66732d197f88d246d61bca6ace7264c89533906c7ba43cfc7db", + "chksum_sha256": "d377532f299ab29c034ba3131331ad0af3f7802c08513dc44d1a1798a2adc383", "format": 1 }, { @@ -1565,7 +1544,7 @@ "name": "plugins/module_utils/vmware_rest.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6f88337474d4ed0ad7392cb9c2d6846d19553978b58d8069f2cbedf343214a07", + "chksum_sha256": "532e937a01ff7714ad731169be3726e62348bd2427a52667ae923851c747f3b6", "format": 1 }, { @@ -1579,924 +1558,924 @@ "name": "plugins/modules/appliance_access_consolecli.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "86e672284e34073ffb29c89c14ef47a8d5628a2e4085570a7356d0c4f9355450", + "chksum_sha256": "0ac3e26d9aecde74a23ba914552238e5e9c27ecfbb27dca87c11c42773cc986c", "format": 1 }, { "name": "plugins/modules/appliance_access_consolecli_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3466b6705f2ea423798540117a29c1179285a58a99eb9d75fa290c1cfd426070", + "chksum_sha256": "5da1c41dc06f32bbfb9b846dfd56063b0a20322b08842469a36f657d16c8956b", "format": 1 }, { "name": "plugins/modules/appliance_access_dcui.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "31d53fcc975db24de8f7e75ea0e41ac4a3323d7e8db41f4095c906297495c4d7", + "chksum_sha256": "7df8c3cc239c60009c3f13ed0daccff512099eac509bb69bf7483d6c167d7274", "format": 1 }, { "name": "plugins/modules/appliance_access_dcui_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fa3367a3d35ff0fcf924f1269a46e8235df840685b44443c0cfb36891f799dda", + "chksum_sha256": "3f5e390e48f253d8b2bb40d341ed9c9b1bab89e49b6a983823c5acbb7c1ff0c2", "format": 1 }, { "name": "plugins/modules/appliance_access_shell.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2f6ab04c30818d26dc4aaa7a8fc0af9267bcb387a9a4374935ee73862dd92d98", + "chksum_sha256": "cfafd8441cd52cb573be61e0c09a215f313a6aedefeb1876d653da549a8babb0", "format": 1 }, { "name": "plugins/modules/appliance_access_shell_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7889398bcdaa2e57477c61be4dcfd3cbb6edeb5a16576890a66e3747028338e6", + "chksum_sha256": "a4b4ae6c31a03e10606739f857780422462438df05b81d2f3d45134c425eab08", "format": 1 }, { "name": "plugins/modules/appliance_access_ssh.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3f99190156d7bbac3f0069ac964c20cb479665dc5baeda31605f3da43cd2a3dd", + "chksum_sha256": "12a18cbf202cb28d9866fefa3d42e2a77fc7fb2e2d647dd6690c4bc9ad4e23d2", "format": 1 }, { "name": "plugins/modules/appliance_access_ssh_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ae5626f45f79fd0cfac1f373b1fc33beba911ce27c7a7ad7720529e147cf44df", + "chksum_sha256": "53651dc3a96c05b50c6eb68b278aa91e92e767982c551f9d64937ae2a212680f", "format": 1 }, { "name": "plugins/modules/appliance_health_applmgmt_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "658b1f242eeffe044aec580bc5cf6176f9a05273daaf5f9208951d85213407ae", + "chksum_sha256": "c0e1f0d908f7ae5bdc464a55467808cf0a468f25705f4be8104e2c0902fa6d13", "format": 1 }, { "name": "plugins/modules/appliance_health_database_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7965cf74b4b6a81ee06263329cbe65516af708ae84ee57e24eadcf8ff47d7883", + "chksum_sha256": "c70a36ac5d2571392dc822986fddbc4e42f49bb6999135ed2a8a615509b4e637", "format": 1 }, { "name": "plugins/modules/appliance_health_databasestorage_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "831872ea67cb2429a26c79d770181cf81459c68e9d156711cc5a96c091f33379", + "chksum_sha256": "781e27d24e99f694af800316a6a58202a67b51fd5956101fe18a85a8a050b793", "format": 1 }, { "name": "plugins/modules/appliance_health_load_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8b4a263be989eed57bf5fff11677bb78071585ba774799f3a91aa1807d0894a7", + "chksum_sha256": "c35d3530843c620c4b2c3bbe53fb3ea5f7ddfdb76a23a52db7883425d91ec229", "format": 1 }, { "name": "plugins/modules/appliance_health_mem_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ca88485b3964ce2450b8b72d4548456d82ca764b0f12751a873df3c7e7e6ffd2", + "chksum_sha256": "c9e1e2a16db686e9665f38d54938b72f5169adff19c5b3fc6df6ae137ec5d426", "format": 1 }, { "name": "plugins/modules/appliance_health_softwarepackages_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "eab04b6a697dc6c24f276ddefcf7d2fb0544fdd32f1ad07b8d6a6ba24e7e84c4", + "chksum_sha256": "d63c26783382ea8304039314f40f7af2ed08a964154ad7c14f768307c7b861a8", "format": 1 }, { "name": "plugins/modules/appliance_health_storage_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c76951a329e19c66a978a1ef6016b33729bf26678f281cbc8f81ec8f660a9269", + "chksum_sha256": "be91778cab056a7455b8a6a57d85228c3f447704890a1f50ea9a1479d1e9f0e2", "format": 1 }, { "name": "plugins/modules/appliance_health_swap_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d28fa60a4503b5cf6e7e33047da012b11d6972716bcbc2d1bcb01cef2fa17779", + "chksum_sha256": "deff85184ff7bcca3059cc703552c9583e1def729a2d7e5c9088e95c73fc1047", "format": 1 }, { "name": "plugins/modules/appliance_health_system_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a43f0ec5f805cdff93736fd33f95fa7e36136b69f0748122918f0618c4dd0086", + "chksum_sha256": "afd6ad2293650b8bc900ef35e47671fe3d3607308a38f3ecac59915bf8709dc9", "format": 1 }, { "name": "plugins/modules/appliance_infraprofile_configs.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "339f8dc83f3641c8c900108a8ce50388b03a85d951628f302fba277701a5420d", + "chksum_sha256": "e616fc7b5a22c45154d12061c16960a3387335cf4b70cc10d13d6b3246c1dd1d", "format": 1 }, { "name": "plugins/modules/appliance_infraprofile_configs_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9f0671bd8ed353d0225ee20671ab0ed87a002aab04e1a8abf0598751f75b1b8a", + "chksum_sha256": "73c1e310809d7b439e19201c256c0f5179a47f9f64b265e5cff49fe2fe21925a", "format": 1 }, { "name": "plugins/modules/appliance_localaccounts_globalpolicy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "313c7c803f030bdcd91914d467fcc03e115f5aac58e85bdf6ae39dbfb37b18cf", + "chksum_sha256": "66d44727da4a2a92f22b88b4bb6a95a8af7fd1ae228ea3fc15e9640821e25c9c", "format": 1 }, { "name": "plugins/modules/appliance_localaccounts_globalpolicy_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7ee66f627ce2d958aecb50915470ae6459955b54beef362c31ae868b57141d21", + "chksum_sha256": "568d37233445d80faf46efb0a40f1539c68d19e64bafeca7c6c8d2419636190a", "format": 1 }, { "name": "plugins/modules/appliance_localaccounts_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9376c972b292070e4f18a147a57f2b764a046ff869255457f9c2b2cfa19326eb", + "chksum_sha256": "a434a0e10cc3a0af387c57b283a69a07bb50dbed0edf639dc6299b143f3d501b", "format": 1 }, { "name": "plugins/modules/appliance_monitoring_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ae755581a9440757a9ed9cc907b17d186b02b3603e3dda6212b19a7b2ddd2d17", + "chksum_sha256": "c28f47ed9cf79150920b724e543dbc663a2c2499d2e8da3b801d8c1c3f83e790", "format": 1 }, { "name": "plugins/modules/appliance_monitoring_query.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "604dc874273069777accd17d3f754fee915a290e4d34a867ba707568edbcd08a", + "chksum_sha256": "70afffb7050a0e5676bbdba71ede7fc922ac61e17f8599224ad5c6bdd188bb47", "format": 1 }, { "name": "plugins/modules/appliance_networking.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "267fce5da36eace2fa3cb1d769a4c4a4fef9129397cb3f79b956e05f6b8f9666", + "chksum_sha256": "43622f4ed17b0a616dd6ff67b0971619e53b6c48559a1aa61e50446d12b2fc54", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_domains.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ea2b7fd8523547d98da63c48809b76a75c3c2f8c716f31e366b9b3d9f89629a6", + "chksum_sha256": "1b23592414a434d03d4ecafa65e9d13cad4965169e5edd0e9db668724268c4f3", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_domains_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4ebd3e1548de4f8fb877574e4a7b381fe6e7249773e6dc9d6be40ba56e4ee549", + "chksum_sha256": "2d9fca96cf2247566aaefe5b471f5a5ffe2f44fb697247729303997e4f4b6834", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_hostname.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "aa8a81adb3ab8c4d96555999763dbf0f6fa41bf69752b808a6fcbec332df7a4f", + "chksum_sha256": "fc39962bbb8b64dbad0f21c1983f1b03b8c13c42314480ac14d75dd9862f4bb5", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_hostname_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2e6e9434a5c336cb0d61469031f781dbf2e317baade1f8005f082060e8f63b56", + "chksum_sha256": "8c8649653bbe78eff415e958cfc16109f19b6cffeb1e41c87a0002c57e642411", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_servers.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "408a53fbe8d2d27cb7615874d22d314075c6fb323f13b1e4b306593293bcc180", + "chksum_sha256": "1a9d89622183e7b0bcae703a81fe732fe43c038fc14a5b1b702a51be339631ad", "format": 1 }, { "name": "plugins/modules/appliance_networking_dns_servers_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7edf0f2a27816419d1fbd13dd9573e0bd9be3cecb6af898ae87e5ddd92d27ac3", + "chksum_sha256": "785e3bc13d8b12acf6d2f7d298c2810173d044b4b0403d266734c6fad0977c7a", "format": 1 }, { "name": "plugins/modules/appliance_networking_firewall_inbound.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d2d8417d20ce87f33b4b83dc948e3102d4e0720b402d599fc4e924128728190f", + "chksum_sha256": "bbde05a697c5cf84050a94e41add899c92fdeac7e52ffb99abe9633687345638", "format": 1 }, { "name": "plugins/modules/appliance_networking_firewall_inbound_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "33d8b904c833af062f0d3039ed059103da7314a55fc96ceca9eae9e455330499", + "chksum_sha256": "ed6f402a41e9492fcb24d389978bc359c6fea8ecbf5d075db82329e04d441170", "format": 1 }, { "name": "plugins/modules/appliance_networking_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "62a2b8398cd146774a27589193abfc6f59b58142823a88ed2f85560794650a3d", + "chksum_sha256": "53cafe319522eb3d098143132e4ab2fec1fef1aae940447bf9169d230d4c646d", "format": 1 }, { "name": "plugins/modules/appliance_networking_interfaces_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fda3efa512658f903adb6988809b63b2158a9b0b02c11e3fa5320b9a6b7ca196", + "chksum_sha256": "5faaafcd2d5e2d13b0706b7a18cec2cea3e622a00291a7cc2b098ee93e33adae", "format": 1 }, { "name": "plugins/modules/appliance_networking_interfaces_ipv4.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "52104368f1562e9cc6d260e9b12d7e0ad357b401e9967dd7571fdad36853afc9", + "chksum_sha256": "4f5f03baab3389ef2bd5906cf7c32d55a5c3a05d9c13a87b2da51e68a88d85e2", "format": 1 }, { "name": "plugins/modules/appliance_networking_interfaces_ipv4_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "342facb7dc4a358d78090c9e24f7fa28fa9dae5066681b6505cd4a5d4f22f466", + "chksum_sha256": "8554cf12e860b22682cab4b01a7f857b3174989a418563e8476bd5cbda97e4bb", "format": 1 }, { "name": "plugins/modules/appliance_networking_interfaces_ipv6.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "84051c00e547a676bbd256640bd034ce3c703dc020d7ea17a84f57400dca1672", + "chksum_sha256": "f2cc626b9f3423c37406d3974881ec30c23a1e8229ca35f29068ec00416cbd6b", "format": 1 }, { "name": "plugins/modules/appliance_networking_interfaces_ipv6_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b78f3eeffeafa261c53b434cfd4a666b1618e8dd34ffaab66bfd5fdc24def7f9", + "chksum_sha256": "5bce4e46e90a542ba00cd6d5ba15e9ca51f0e128fa10874a38fa305c8931e953", "format": 1 }, { "name": "plugins/modules/appliance_networking_noproxy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "15700b1e18dc0363b24e598eab7b1328cff708ef9be4714f64b0f35a19966d3d", + "chksum_sha256": "a7176d684febcdb9f64229a428da34113a4e5284ffca3a998eae0620596c0e0c", "format": 1 }, { "name": "plugins/modules/appliance_networking_noproxy_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "af08287f0d5f762e422d755ef14dfcb50d53fa930ad4eef2181bff0e59c46a3e", + "chksum_sha256": "e9c5429a76bac775bcc622e7899392fc776a135a9c6038aaa15cf1128d0278e6", "format": 1 }, { "name": "plugins/modules/appliance_networking_proxy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8d877e0cdd66bb2ced03499d6b2f39006bb07cd42504eaad251981a3ed665bae", + "chksum_sha256": "a64fa981dabba301230c3017a99008dadcf387069cc937ce8e278d0bf9b65fe5", "format": 1 }, { "name": "plugins/modules/appliance_networking_proxy_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6378f1823decb5b69df73a3318ec6d666a3f68be2f73a9d7b31a8ec7248e91cc", + "chksum_sha256": "66f56cf094e67f830af151723f42ae60a48b75db6c7ea734a2d442b496cb49b7", "format": 1 }, { "name": "plugins/modules/appliance_ntp.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "539a605f2c2cb48cac2dd03df4ab51465770869cc8ba5264cf85d12aee12c522", + "chksum_sha256": "c87d9ca512423256edd1673f54651c85899dc83ddca2375e235c64fc3708a4b6", "format": 1 }, { "name": "plugins/modules/appliance_ntp_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fdd622b506d867a7f9356951d5e3c7f820941c2138e02df9aed3bde16201d252", + "chksum_sha256": "f3f0000d340d3679f4ee306185fb2ddd577e9e33d364cef59115f3b9e2e95a83", "format": 1 }, { "name": "plugins/modules/appliance_services.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "7f57008e99f762841a3f721b531d4374113110c885420fa3a4315aafc910f1fb", + "chksum_sha256": "c1fe30d0950e6b4ad07d45093eb0e4b4df1f55931bda17771eabb42edf82132a", "format": 1 }, { "name": "plugins/modules/appliance_services_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "faa780f5236f0d932741eaac2df0a1e2b1b9613f4f06edf04d7bbb5ab2536f76", + "chksum_sha256": "ec95403b5dd75b4d19e70b5e934bcf20334e3d8aa1667054872059ab04737c02", "format": 1 }, { "name": "plugins/modules/appliance_shutdown.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5be75e1ae55d3ffdfec2c569bcb01930cd19e8ab18d855baf834ad70e7fd8f34", + "chksum_sha256": "3d458a88f1a45531d473b9702385bfca24c97f42d3f0e58daf24d7878a2e8a08", "format": 1 }, { "name": "plugins/modules/appliance_shutdown_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c87036a4886f0ab4dc3ba588c838b85c514db712f9624f3ac716d1c4f9acf86a", + "chksum_sha256": "1fb6c6a10216278555044b71fe2f116636dce55e50296cb9264b3cfca6e3b6ef", "format": 1 }, { "name": "plugins/modules/appliance_system_globalfips.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6a7c14618496579545ebab58f0adebfe4a0c3313b7103a64e81855b904d78bff", + "chksum_sha256": "36737b3a99ba23ae9c186e5c4f5bbb714ac72f1d52721590e6618a5188e4d1d4", "format": 1 }, { "name": "plugins/modules/appliance_system_globalfips_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e8d521b6f66969033509865c934eb1866b8f5ff324d077b463553d2ea5d5b3d3", + "chksum_sha256": "fd13a0351f5cb951700ff04e2bd948a0c2dc637d982545d69bef671af8ad0ff4", "format": 1 }, { "name": "plugins/modules/appliance_system_storage.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ee8cddcb568c35b7ee770117f7d5edab751ae68fbf1a3d40f78d5e119ddacbb7", + "chksum_sha256": "9b7efa73bed0e6c34dfe7acac871308eff15786eb1821e8b675330feebfde715", "format": 1 }, { "name": "plugins/modules/appliance_system_storage_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c15322620bc4d87f3089da0c81188daa94e1905bad0da821a5eeb1ee1b6dd53e", + "chksum_sha256": "5cda3c69b838fb71a643d3b8815082f81c46d18663fb000cf3e2e81601093994", "format": 1 }, { "name": "plugins/modules/appliance_system_time_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "79c48288960f263d537dd81f77744e99f7383edd66b737684b5100cebb6d94fb", + "chksum_sha256": "db95bec35f28fce2edb1d9a255ec68ff2831ee11913ad0863c0cbfd1151a9f60", "format": 1 }, { "name": "plugins/modules/appliance_system_time_timezone.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f1cd36038857f76e8ba0a0c9e1cc462ba20d741b24454d858b5ebe771c253dbd", + "chksum_sha256": "1aa7bb5bf9eff8df7c546088232ba097e46b93cee00d142935b7a3e25abfea9d", "format": 1 }, { "name": "plugins/modules/appliance_system_time_timezone_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "157db47d71713bb37692259b39114ac9300a4b666bf798ed422849bb90f6c07d", + "chksum_sha256": "74c4d7433abc20cf20de938286c400e4b6423cfd7c403207bbb6fe06a0cfd8ab", "format": 1 }, { "name": "plugins/modules/appliance_system_version_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "28271e3ea0698ff2b9f80f77e7d43bc9de3bec9d9553e0344cdfa3a403a68db5", + "chksum_sha256": "8f476a3c717e2119179bded6ad3c47efcc279955bad6f45e2a6b62389d10bc1b", "format": 1 }, { "name": "plugins/modules/appliance_timesync.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c78439c05ba9c3c6e8387e1efd5892ba9e5b5b188a0584725b297671b8ab47b0", + "chksum_sha256": "216725ddbfa360bc861c5a72cb90e14a9b1957922cacbf7c52c19da35121b758", "format": 1 }, { "name": "plugins/modules/appliance_timesync_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bcb68c4a1f73ae27f78219743007e6838dd0852618d41549c807123fb54e40ae", + "chksum_sha256": "ca1dc76d2ea023487f692addf0016a8cbd192abba899a0c05a6e35fb0ad3d8bc", "format": 1 }, { "name": "plugins/modules/appliance_update_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0ec355f6f70d08f417dcee5f0d07264cfb6d57fbdc0535e9873412ff13e389a8", + "chksum_sha256": "df1812f640f5f90b089d3c8472f6f6857a2c28d7e269a567ff20a883ad7efa69", "format": 1 }, { "name": "plugins/modules/appliance_vmon_service.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ed75635fd95f67a2b937e4518aaf324ba6fb67e1a51b18e18d35a85ac65103e8", + "chksum_sha256": "e55691d61bfc1e6f164f1377d1b96a9c8cb6ada759159a3f72fa1bb778130611", "format": 1 }, { "name": "plugins/modules/appliance_vmon_service_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "45a72e7c1d7562a30cfdfdb8ac0a2f7bf3b5d1bf0d18cfadb38c3c71228c265c", + "chksum_sha256": "ad7fbd559ddefcd51cfb0f6626805cfbe299cee6c8fdfbc8b516c6a112e3ef82", "format": 1 }, { "name": "plugins/modules/content_configuration.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8a44553eff0c957effd2526e5277cd40e1e530ab47a8e351b4ef0e1282fa864f", + "chksum_sha256": "923ca2d80d021710075aa8dc43a77ea205db29de15cfa0305c55d5022608a01c", "format": 1 }, { "name": "plugins/modules/content_configuration_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4af907bbcb6b521e1e9957d9ad7a004aa46d74e26327fd99e042ad3c78b83e2b", + "chksum_sha256": "4d62a07921f5911f863f51d08130ba6c25ee902fa0fa79620bf09c2939078f47", "format": 1 }, { "name": "plugins/modules/content_library_item_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "694cc41c102c4c46bd7196d7ce21edf98da956b9326b4e007d4cadc0bcb1a7e9", + "chksum_sha256": "7cc186dc52b25ffd411046eb1a10e7e9f37dd52075b3040ba7595a74ecb4d83a", "format": 1 }, { "name": "plugins/modules/content_locallibrary.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "be86275a9113a2920681da50a13fba8ef01eedac3760d3b1716cbb33a99383f9", + "chksum_sha256": "70a21128f3b6fdd0339ce086daa13e398d576808b51feb796c61e64fdeb9c176", "format": 1 }, { "name": "plugins/modules/content_locallibrary_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "725a27c599b8f51347b9f4ffd3026f800146af138c95de115d7dd5e613baa312", + "chksum_sha256": "b56862e79952816e804b40337c1f4bbfbb6ab300bc4cc156ffade8380b3601d5", "format": 1 }, { "name": "plugins/modules/content_subscribedlibrary.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6f5b8b886c7db45875c62464300b035f5e089d8d7becd2bddaa6e1e9e3031961", + "chksum_sha256": "dd93a08af63c1cbadef8bd3877ba0b7995cd3cf6fd6076e7def352e4a507161f", "format": 1 }, { "name": "plugins/modules/content_subscribedlibrary_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "11c0b3802aa5cdac4da431dac993231780f1a091c60d557ca2990c58f7594317", + "chksum_sha256": "a32e56a86f037621b0dce78cf53dbc215f695de2a3a5404ae6dd2282594b58ae", "format": 1 }, { "name": "plugins/modules/vcenter_cluster_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2c257ccc3d99d6cd799ddeedd5acf86387d8e3e88f0e444bc403d199aa912544", + "chksum_sha256": "7ca6181687a5481b994de39089d55ef57831cfeeab80687055ac41dbb99fd9fe", "format": 1 }, { "name": "plugins/modules/vcenter_datacenter.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c382b3f77dd0578c31e2036ba797417569abf23f018756f6f3c07153a559dd04", + "chksum_sha256": "3fd7e31c50f7c3de1ddbc92c3c12b8a2e1fa863f2e98479ff28cce9adde2944f", "format": 1 }, { "name": "plugins/modules/vcenter_datacenter_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "411bddc1ae7920c7aee77d9aa3d52a5755466d92397ea3b746392373c387e0cc", + "chksum_sha256": "dea2ede6846ac6eb9836c52dbc6e661ae83efaefbac7941285fb57a80246d19d", "format": 1 }, { "name": "plugins/modules/vcenter_datastore_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3ed318d39701e617ae7456127ad13c37690fafcd80afddde1b824dffe608e715", + "chksum_sha256": "7c0a9b3124a4d3a5c7a8df3dc56cb0704e87066dd8dbfb89bdb8c2edc477446f", "format": 1 }, { "name": "plugins/modules/vcenter_folder_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2bbf3effacf5f1f2c42cccfdeb1e8c3d8d0387ba52c39ee68a4e398f3d16d84a", + "chksum_sha256": "acbb2a1c998a495b45daf9eead039cbedaaf485941b988023368b33d0a9e1a45", "format": 1 }, { "name": "plugins/modules/vcenter_host.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "37a1c63b34560b18f930f2d757e0360c9eaac38bc1814c547638e15eb4a9c626", + "chksum_sha256": "ee23a4883d7cc118bc420fb041afc230dd960b064cd9b6b448d2fbc932f79461", "format": 1 }, { "name": "plugins/modules/vcenter_host_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d5a168a6e57cc28354ffe39935f3860aa84c088a9d026f13f15210d2670327ca", + "chksum_sha256": "723cb31bd453259d2eae715d4a7c0517a5f988e11223e2c9b55cea95caf97d7b", "format": 1 }, { "name": "plugins/modules/vcenter_network_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "06eaebe64215e2cd1ef054aede6f2715b1368218470755ee0ae692f007c9a321", + "chksum_sha256": "172fa4f11b97d8e266e7cf9a09cf0b8e41df8789995f51dcea192658c02f4f67", "format": 1 }, { "name": "plugins/modules/vcenter_ovf_libraryitem.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f33329f71af3b5659bce5f339576b05c4af9698beedb73aeb2266a7d91a9cb93", + "chksum_sha256": "6e6112103ce6ffc5787d7a76e16836093ba52befebf7da78a91169d0be882c84", "format": 1 }, { "name": "plugins/modules/vcenter_resourcepool.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "befe42b9fa31435c1dcbd39f5b314f20ba47e18ab5e6223ab52abf41816f5445", + "chksum_sha256": "a86387d3c02bee0d0208b6ab0ff19de9b80744b00cdaaafa0be526a4a0661ea3", "format": 1 }, { "name": "plugins/modules/vcenter_resourcepool_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e20d8f8757694f2826bed100a89bd1cdad2951834b86467079e29b7eb6848f66", + "chksum_sha256": "31e887e07f905add9e213c5e39b103b09c87760324f541b32b2e156d96570ce6", "format": 1 }, { "name": "plugins/modules/vcenter_storage_policies_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "250bbf1858bac7d2c250d39d216af248f90e6993bf04addb8b7bbf500494d923", + "chksum_sha256": "648ed90622d50ff56e0497b2e7adafca54581094563702e8dd40dcb999b94015", "format": 1 }, { "name": "plugins/modules/vcenter_vm.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c3f3ba08e8645c745afaf37e6a40a7a6372c532c0e6b6ca15e1da613cfd05030", + "chksum_sha256": "d84f932aae58f8f07af811122748563c9005af30e27644a876814517d2cd5b26", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_customization.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "cc62fb92e7e4edd40e3163c7f1d3ae07f8d72361802d4aea8c24e290db0c02e5", + "chksum_sha256": "8e4d29eac9c074f3db99d155c330109151bfe30313a9c2d52e7588f9bc0c8a84", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_filesystem_directories.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "252d07982b4e99f46f039b6738cd9601f2610524981bd091b61120ff27ad5c4b", + "chksum_sha256": "597319e61287e9d8e990a4ef74a3adf405e8d6017e90467cedc5b3669977eddc", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_identity_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b56f8e3053306396504b660241c98a8ef651718b7aac24c0eb3157e401983878", + "chksum_sha256": "19af4de0b8ad8c464ebfdf1978d26e429515ac06eabc5bb4735aefb5c0165fed", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_localfilesystem_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d17e5a27b7b1a9c155d7c66139907267872203e5eb870b6b24e0e1f218e11049", + "chksum_sha256": "4d2e6cef9804ee566d1f237723efa3a586fc02ff7694ca1e623bb64691f768b5", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_networking_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "8cab3d2c5aa715a10a0b62ea151f0791aa08a91979dc7f92963a0e3688c74bc9", + "chksum_sha256": "e26307a95675b3fedd947aaf79e0c9e7405d4c09ee58d2cf364a69239c238ece", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_networking_interfaces_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c470387aba2ad497317a674201a2a7cbff87bff8cfc5dfdc89d7aee052e0fa77", + "chksum_sha256": "194a6936b31615cb69d2a6e63f68599a74a7cf63f234bcfbe9d059424a010b67", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_networking_routes_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2c2c1463e9bd36cd66430b003b0592d5f7ec731f12737c6f99e3fc3f943c90e4", + "chksum_sha256": "141bcca4108c351637c347fd2d45b09c37fee6e6a9208f2ef9153e44c01a63bb", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_operations_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "812fec22743c2cc78b35b52a3447ca5a0278c76e5eb3e9b2948a1ef81185c32e", + "chksum_sha256": "e9adb377dedf44dfa357d419083b885a8ba28f5a7df13c2e1b021c2bd472311f", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_power.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d3ba67e87fb49130cc5138cefafd3a78f75fbefbfeb08dc5032be5e6aa20efbc", + "chksum_sha256": "923c6ad0a3c599e674e6cf34d917f209c4ee41a998e50302f7575e63063d9507", "format": 1 }, { "name": "plugins/modules/vcenter_vm_guest_power_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2859cd64f961f71a86a601dc593df945343d0691b068973d541b919f09c3d0a4", + "chksum_sha256": "0413c3a7acd6819cbdd0e8333d82304d0c4d75b202c2cc96e27d4756b04ee420", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "d40db4a228a8afbfa7ae9b744722196dafc5e1385c38ecba4f035ea2c0d454bb", + "chksum_sha256": "d6cf07e106ca8e3b02c8e4cc34199ccc9960fee7494c40b56ac5c0cc1f1dd71e", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_adapter_sata.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5bfec986587fb78ed2352e256c6e1b37a48a16a2c1b18546a6bcc9ee4ff2c393", + "chksum_sha256": "2ab41bad7a0ca8e214048f39f6016b8ca6c5384c0419163c8e541f0625adbd45", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_adapter_sata_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "2063c170bd8f6b243cd97fc233ef57b8b1b4404ba19d38e7b0fe5452d10752db", + "chksum_sha256": "a0c9070cb40057664fbc98abcf36a9ae1d6390746a07aaa9435b3e49fe25dbf3", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_adapter_scsi.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "6e7ac78f6061a25f19a1c5e4ff32af1cd5b46b4054de098a430813c16a96fbcc", + "chksum_sha256": "e26e5fe802b24d45cd0e22f48f022d98c566cdca58a64a7220d17fc6daeb3857", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "550439c4848c7e2273a367351bb7cea49247be75846eb430ed566442772ad643", + "chksum_sha256": "1c54514f68632a7da5fd1715b731b8f22440025bff59af2dbef2553200066441", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_boot.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "97cea0abdd8448688c0f7a857ab3166e184ae5d71366369d28bd7151c6b0b7bb", + "chksum_sha256": "ed4465efe65f81c2c10290e8d75ae780e0a76661ac1242447180488fea8b97f0", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_boot_device.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "3139b4de21669d92003ce7afa07dac76162698937ab3f6b18d9cea08a4408059", + "chksum_sha256": "fee4dad165bd2e0618ffa3b9cf9bfb5ae01c219f3f7364742983d859cdc274ff", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_boot_device_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0a656ef3d28856d7e15781e9899e645329a0b9d0027b0abde277503671dd71f6", + "chksum_sha256": "f91937007c591fd111354c32e34b7ccd320eb4e0b50a05915ae27bbf20f44f39", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_boot_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "078a8bff3df26de4dcb64420c502cda97ab833e8711f56b18e43c6f678b51574", + "chksum_sha256": "f49180f0306a8f5aed0440506febca2bb7c795a79a07d0edfbefd5ee64d2e4aa", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_cdrom.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a7ed00c313ccb5cb6d3ef72c94151517e2fe44d52a017ece27c9849935be0796", + "chksum_sha256": "667962ec976ce836f52331b44b7edaab4392b4c003e64300b81c82a5f4ca6a76", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_cdrom_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "08abaa7662fb705509cec1128cc89ffe80ab4c6e3fdbcd6f5dda6c77079a8c92", + "chksum_sha256": "75719c07b46d62d936af4ec6bbc19869ed6ca701a57ceaae66eaeba88bd31d58", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_cpu.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0f09201f0d05fdca8ced16c61077a32b21be5fa09d4765e0279b2eb55efe06d4", + "chksum_sha256": "d686323c655543b4203363832664fc8e84c225f3c191a7712103f5408d12a476", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_cpu_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "77efe049a557036ebdc26839a29de6411f5c7bdd1a38d59f5356b6ecc3170637", + "chksum_sha256": "a07f8410930a54b0b879c394e7b3137296266650282bd36274c92f058f2297bc", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_disk.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ac55725f36f50065d083cb8e637d0ec24fd9917945858e0b57113797d2654f73", + "chksum_sha256": "3cfbc038fa5ac447c675fddef79e3e077732a9b5b9a0a34173afe6905761b269", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_disk_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "991de8ae9bc8cd07dcff008f1c8e7fa52936cd23a9d0220a3259472324ade6d1", + "chksum_sha256": "bf29421ac44cef6ab7e17149cd442ebb596800e00815885412c278b99c8e452d", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_ethernet.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "daec2f43eb00d916835fa96091e8ad28e3511d0d90e9cd498173ff7a723e3f94", + "chksum_sha256": "1b8307d1a64fbcab1229d5d0a460cd7b95c6a5f57b950f63942c9e47bff4f262", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_ethernet_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4cbe952ff956d3ac151a44e79b662d8e678e0aef327a92579721583c685c2196", + "chksum_sha256": "e599048b3368e397bfcc0ff0b8be857bf21f04582f23a8d1935909deba23f713", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_floppy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f1150ad45bf01af45ca5c50560dd6114580bd8210caba055f433e915c99ad0ab", + "chksum_sha256": "377fe3713f7236aef7688a597ca4d01aeabbc76659afd47008eae3d26e22d12e", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_floppy_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "64f89d80f38f8ca442ceb194b743a6ccd42009b51aeb3bb1e6536d784bd07d0e", + "chksum_sha256": "44d9e9c9c25acc36a3b4f44a38b836196078e49e352c409b2036bb63e25de844", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "981df227cba8ee34d115c1e378cca7d196d68b7ba848d5cdd487e6bed0ecc331", + "chksum_sha256": "5738286a7ea8953856055f615c8c64e3af8a4ece3f91c09d77fc3f92ca069aac", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_memory.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "98f98f449507ea1b9585388ff8290457c7ba35bde1e1f4754afafcdd32c57b4a", + "chksum_sha256": "0a2acf1a70b6526bb54c6ff4dbde1227444eb0038084b054e773c33219836ca0", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_memory_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "fe7ea9947b2c9b9e63bb4fb5695375d6e583272069f1ed0b74fe4743a4cd1c5a", + "chksum_sha256": "3feec561eb93ed77a2efb1506ca2bcdcf0888fd30c167e802171bde1d7a6921e", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_parallel.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a2b43e9d8979dd869d9f399ba137fcd51ee6a12a33e3238ea940df2faebdcf78", + "chksum_sha256": "2f381fe48adea5253c0eb9434f946c2080120409bc498186751cfdfc00130ca4", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_parallel_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "ec61b13c09f534df1fede42b062b84192f0055f94f33368699af2f6bbd31c929", + "chksum_sha256": "e0f701ba594c850b80499222f0eed14431d5fd24b95b318c0bcc57764102519f", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_serial.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "da256ee8e97a7cd6beadd36dbcb2b459a4637064ed752f19fb770ad1049160b0", + "chksum_sha256": "2e057303551e6cb1b1ee06c1aa5cb53cc89c5b0809f000e32b34ca85d85c3e7a", "format": 1 }, { "name": "plugins/modules/vcenter_vm_hardware_serial_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "212b3877bc701b42b99638d92c9825ee0b67868d02bb98b7c406ef664f734801", + "chksum_sha256": "011f2a60bedb0fee57d6ec4202786cb89afd524b8b33a68f3c2fad35bbfbb74b", "format": 1 }, { "name": "plugins/modules/vcenter_vm_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "c647e2adfc42899c4064a36f62b07308e321d1f8e417661c1d2dc2a57ba0ceb7", + "chksum_sha256": "a82f0ee273cd5d24461f63f95f17b1e6e5889737aa862884a8ee47cc66d7b828", "format": 1 }, { "name": "plugins/modules/vcenter_vm_libraryitem_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bb83b6ba73cab049b6e3fe5b153e0bb0d01f17ac5c7d478f644b6218c7f778d7", + "chksum_sha256": "61d06933cc2f14b48a9ab2f3ce8266690a9175ff0a70ecd797dccfa6533de89f", "format": 1 }, { "name": "plugins/modules/vcenter_vm_power.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "0c908a6495985d2eaae726ce57efead94f884717e6d7429fd0ebc8b889911ce9", + "chksum_sha256": "48c9a6b66d81663b6289d7c077e218b47c1f9b61eeedd411fea60f933fee415d", "format": 1 }, { "name": "plugins/modules/vcenter_vm_power_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "b018aaa863b20e571525533f8d04c3d3fba7eb9a1585262e2caae3112e0b6988", + "chksum_sha256": "9a78ae87ec5a94b50acf412810119e48a43156e5f56cd248999bb62e7ff669c5", "format": 1 }, { "name": "plugins/modules/vcenter_vm_storage_policy.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "69499935db31389a3094e6934e9338244f6ea8b9573271ab2d0b050b6cf16d55", + "chksum_sha256": "36e8077020d540211bdfecc3150b148d33b05817816b8cc7b59a8e51a94ddc8c", "format": 1 }, { "name": "plugins/modules/vcenter_vm_storage_policy_compliance.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "1b91aa06fd275c73ad13552b8d1a13a564eed8d6fb916a233fc536622fe9855c", + "chksum_sha256": "ab378bfaed594244cc886d4ce5cba550aaa3f6870d1a2acb2bf2c2df9ddacea8", "format": 1 }, { "name": "plugins/modules/vcenter_vm_storage_policy_compliance_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "828e007229cf02ae3774feb8bf22a1610ac39845ce082a9b39e0b71e58bb9b8c", + "chksum_sha256": "e5436a6c5a5e8f6eb23b7b5d841dd2fa8ddeb06bde7492d9dc27bd0f439733cf", "format": 1 }, { "name": "plugins/modules/vcenter_vm_storage_policy_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "f4716c3d5a4ed9315bc81359deab7238e62fb520759a2e75625724884678ec0a", + "chksum_sha256": "4ed581d55361fcd4b3f36dcb26beaebb32095c06a08d0689a55ee1188f16efe9", "format": 1 }, { "name": "plugins/modules/vcenter_vm_tools.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "54f8dbcd432551d862ea3a786ad143c4e84141f8b2773bdf1953dea24fb3c8db", + "chksum_sha256": "da042d6142c9254ac6c83c21d941e066be87c1f9065d56bd4b3c2911b1c9659b", "format": 1 }, { "name": "plugins/modules/vcenter_vm_tools_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "9137afd4e4451d6003d4e3deb218e9f884eb2516baf41e84372d87bc72697d45", + "chksum_sha256": "02bd05cf34784065efc893549b8cfb5f847c34c8b557ed1c7ab6c1646931f463", "format": 1 }, { "name": "plugins/modules/vcenter_vm_tools_installer.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "37d8af3d9aee1b8b794367fd64684ee7692933098a7633c3eeb75f92c83e0690", + "chksum_sha256": "ece2745a72c2a4b5d6cd0fc2a3e176b839f3bc6a3b289ae2c0f78026a4adccbb", "format": 1 }, { "name": "plugins/modules/vcenter_vm_tools_installer_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "62b2d4f55af7671c67c12216cae6e5136f13938f03f0ada0be26158fed392bb9", + "chksum_sha256": "eb592c7c1d6c3314c6072af624d7596dd1a179b553a1a56f045e90b9371a757c", "format": 1 }, { "name": "plugins/modules/vcenter_vmtemplate_libraryitems.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "e6d9e483cdd5097be56a81be0124bb12f72b3be05babb79962482bb0fd26a56b", + "chksum_sha256": "7e506e65f3acce2dffae870e77275bbbad13e7ee3d6ac884371b1af45a423041", "format": 1 }, { "name": "plugins/modules/vcenter_vmtemplate_libraryitems_info.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "073a670c20ce07f705d4dfa4aab83c428dbaa604115850132ff9eaa52ca07d37", + "chksum_sha256": "9c2dd867de48572fe0e992095e777477ebb9f9fc77a5900186598c57bcf65009", "format": 1 }, { @@ -2510,7 +2489,7 @@ "name": "plugins/plugin_utils/lookup.py", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "02c3ee551b0a57369a6ae12c9d854759a25f23e9d68f47128b992ebd535e42a4", + "chksum_sha256": "d4d6ce242580192a10e8cb74bbb5b5b3679347775cc791eb599f7feb39842cf4", "format": 1 }, { @@ -3494,34 +3473,6 @@ "format": 1 }, { - "name": "tests/sanity/ignore-2.10.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "5dcdc1f1ef88dad5199726025ee5acc225a2aef41bf414154fcae9388372c421", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.11.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "acd48c24a299d78f94c409248a9a605b4489204509c0f6cb1aaf9797de1404ab", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.12.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "23ca8f55e3ca625eba50d11fad3b865cd0c9f57a127381716c2ed88323eb0125", - "format": 1 - }, - { - "name": "tests/sanity/ignore-2.13.txt", - "ftype": "file", - "chksum_type": "sha256", - "chksum_sha256": "23ca8f55e3ca625eba50d11fad3b865cd0c9f57a127381716c2ed88323eb0125", - "format": 1 - }, - { "name": "tests/sanity/ignore-2.14.txt", "ftype": "file", "chksum_type": "sha256", @@ -3536,10 +3487,10 @@ "format": 1 }, { - "name": "tests/sanity/ignore-2.9.txt", + "name": "tests/sanity/ignore-2.16.txt", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "5dcdc1f1ef88dad5199726025ee5acc225a2aef41bf414154fcae9388372c421", + "chksum_sha256": "4f08c882c48aeeae44a60861f7a8eb098c14939b8189d75acfa2941626c97223", "format": 1 }, { @@ -3571,6 +3522,13 @@ "format": 1 }, { + "name": ".ansible-lint", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "c6d722ca37551c34d09bcb00ec7bf67ec34e9d251fcede38be31624496fa1119", + "format": 1 + }, + { "name": ".gitignore", "ftype": "file", "chksum_type": "sha256", @@ -3581,7 +3539,7 @@ "name": "CHANGELOG.rst", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "018d059401bb5cef65715dc8dceaa45244e8734efa42011245619f8dc693a3a1", + "chksum_sha256": "a685a91f7d07d39308d11bd082778f8c09c6cc00c03cafbd5c41922394119c47", "format": 1 }, { @@ -3595,7 +3553,7 @@ "name": "README.md", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "a970894d7b0212ee1431deccd46d2b82a38a9186f52374cdd99e1d5d20e251f1", + "chksum_sha256": "ff647801d4359c852fdac82433911a60dc662c1f9e7e4f14c3b9a6eee8a4e229", "format": 1 }, { @@ -3613,6 +3571,13 @@ "format": 1 }, { + "name": "development.md", + "ftype": "file", + "chksum_type": "sha256", + "chksum_sha256": "6eae6ab12ab45e498b6c52347a1cdb89625bf1ac2701fa3661fffda611174f8e", + "format": 1 + }, + { "name": "docs-requirements.txt", "ftype": "file", "chksum_type": "sha256", @@ -3644,7 +3609,7 @@ "name": "tox.ini", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "4158f1710f1481241e11b76bd115c4a7dde0e6894e180535772acc8d177bcb3c", + "chksum_sha256": "c9ac59809f4df49b55edad1cbee62b4767d2f6cdb43914c6d3999505ab7c746e", "format": 1 } ], diff --git a/ansible_collections/vmware/vmware_rest/MANIFEST.json b/ansible_collections/vmware/vmware_rest/MANIFEST.json index 3ac64becb..f695f22ed 100644 --- a/ansible_collections/vmware/vmware_rest/MANIFEST.json +++ b/ansible_collections/vmware/vmware_rest/MANIFEST.json @@ -2,7 +2,7 @@ "collection_info": { "namespace": "vmware", "name": "vmware_rest", - "version": "2.3.1", + "version": "3.0.1", "authors": [ "Ansible (https://github.com/ansible)" ], @@ -12,11 +12,11 @@ "vmware", "virtualization" ], - "description": null, + "description": "VMware collection for Ansible", "license": [], "license_file": "LICENSE", "dependencies": { - "cloud.common": ">=2.0.4,<3.0.0" + "cloud.common": ">=3.0.0,<4.0.0" }, "repository": "https://github.com/ansible-collections/vmware.vmware_rest.git", "documentation": null, @@ -27,7 +27,7 @@ "name": "FILES.json", "ftype": "file", "chksum_type": "sha256", - "chksum_sha256": "bf8e496792af02279617c2c8a3e51a4e6342cfa061a7465880710ce95a1b6660", + "chksum_sha256": "f4a13e7caf4cfbb1d45d898874833d85e06e13e2afbb07e0eff0954435e22673", "format": 1 }, "format": 1 diff --git a/ansible_collections/vmware/vmware_rest/README.md b/ansible_collections/vmware/vmware_rest/README.md index 0e868a5ec..b8d732a62 100644 --- a/ansible_collections/vmware/vmware_rest/README.md +++ b/ansible_collections/vmware/vmware_rest/README.md @@ -7,7 +7,7 @@ The collection includes the VMware modules and plugins supported by Ansible VMwa <!--start requires_ansible--> ## Ansible version compatibility -This collection has been tested against following Ansible versions: **>=2.9.10**. +This collection has been tested against following Ansible versions: **>=2.14.0**. For collections that support Ansible 2.9, please ensure you update your `network_os` to use the fully qualified collection name (for example, `cisco.ios.ios`). @@ -19,10 +19,11 @@ PEP440 is the schema used to describe the versions of Ansible. ## Python version compatibility The collection depends on ``aiohttp`` has [requirement](https://docs.aiohttp.org/en/stable/) which requires Python 3.6 or greater. + Moreover, ansible version >=2.14 supports Python 3.9 or later. ## vSphere compatibility -The 2.0.0 version of this collection requires vSphere 7.0.2 or greater. +The 3.0.0 version of this collection requires vSphere 7.0.3 or greater. ## Known limitations @@ -140,17 +141,17 @@ Name | Description [vmware.vmware_rest.content_locallibrary_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.content_locallibrary_info_module.rst)|Returns a given local library. [vmware.vmware_rest.content_subscribedlibrary](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.content_subscribedlibrary_module.rst)|Creates a new subscribed library [vmware.vmware_rest.content_subscribedlibrary_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst)|Returns a given subscribed library. -[vmware.vmware_rest.vcenter_cluster_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst)|Retrieves information about the cluster corresponding to {@param.name cluster}. +[vmware.vmware_rest.vcenter_cluster_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst)|Retrieves information about the cluster corresponding to cluster. [vmware.vmware_rest.vcenter_datacenter](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_datacenter_module.rst)|Create a new datacenter in the vCenter inventory -[vmware.vmware_rest.vcenter_datacenter_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst)|Retrieves information about the datacenter corresponding to {@param.name datacenter}. -[vmware.vmware_rest.vcenter_datastore_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst)|Retrieves information about the datastore indicated by {@param.name datastore}. -[vmware.vmware_rest.vcenter_folder_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_folder_info_module.rst)|Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the {@link FilterSpec}. +[vmware.vmware_rest.vcenter_datacenter_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst)|Retrieves information about the datacenter corresponding to datacenter. +[vmware.vmware_rest.vcenter_datastore_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst)|Retrieves information about the datastore indicated by datastore. +[vmware.vmware_rest.vcenter_folder_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_folder_info_module.rst)|Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the Folder.FilterSpec. [vmware.vmware_rest.vcenter_host](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_host_module.rst)|Add a new standalone host in the vCenter inventory -[vmware.vmware_rest.vcenter_host_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_host_info_module.rst)|Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the {@link FilterSpec}. -[vmware.vmware_rest.vcenter_network_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_network_info_module.rst)|Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the {@link FilterSpec}. +[vmware.vmware_rest.vcenter_host_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_host_info_module.rst)|Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the Host.FilterSpec. +[vmware.vmware_rest.vcenter_network_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_network_info_module.rst)|Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec. [vmware.vmware_rest.vcenter_ovf_libraryitem](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst)|Creates a library item in content library from a virtual machine or virtual appliance [vmware.vmware_rest.vcenter_resourcepool](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_resourcepool_module.rst)|Creates a resource pool. -[vmware.vmware_rest.vcenter_resourcepool_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst)|Retrieves information about the resource pool indicated by {@param.name resourcePool}. +[vmware.vmware_rest.vcenter_resourcepool_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst)|Retrieves information about the resource pool indicated by resourcePool. [vmware.vmware_rest.vcenter_storage_policies_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst)|Returns information about at most 1024 visible (subject to permission checks) storage solicies availabe in vCenter [vmware.vmware_rest.vcenter_vm](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_module.rst)|Creates a virtual machine. [vmware.vmware_rest.vcenter_vm_guest_customization](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst)|Applies a customization specification on the virtual machine @@ -194,7 +195,7 @@ Name | Description [vmware.vmware_rest.vcenter_vm_power](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_power_module.rst)|Operate a boot, hard shutdown, hard reset or hard suspend on a guest. [vmware.vmware_rest.vcenter_vm_power_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst)|Returns the power state information of a virtual machine. [vmware.vmware_rest.vcenter_vm_storage_policy](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst)|Updates the storage policy configuration of a virtual machine and/or its associated virtual hard disks. -[vmware.vmware_rest.vcenter_vm_storage_policy_compliance](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst)|Returns the storage policy Compliance {@link Info} of a virtual machine after explicitly re-computing compliance check. +[vmware.vmware_rest.vcenter_vm_storage_policy_compliance](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst)|Returns the storage policy Compliance Compliance.Info of a virtual machine after explicitly re-computing compliance check. [vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst)|Returns the cached storage policy compliance information of a virtual machine. [vmware.vmware_rest.vcenter_vm_storage_policy_info](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst)|Returns Information about Storage Policy associated with a virtual machine's home directory and/or its virtual hard disks. [vmware.vmware_rest.vcenter_vm_tools](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/docs/vmware.vmware_rest.vcenter_vm_tools_module.rst)|Update the properties of VMware Tools. @@ -208,23 +209,11 @@ Name | Description ### Documentation -The [VMware REST modules guide](https://docs.ansible.com/ansible/devel/scenario_guides/guide_vmware_rest.html) gives a step by step introduction of the collection. +The [VMware REST modules guide](https://docs.ansible.com/ansible/devel/collections/vmware/vmware_rest/docsite/guide_vmware_rest.html) gives a step by step introduction of the collection. -## Testing and Development +## Development -Please, don't open Pull Request against the [vmware_rest](https://github.com/ansible-collections/vmware_rest) repository. -We use a project called [vmware_rest_code_generate](https://github.com/ansible-collections/vmware_rest_code_generator) to generate these modules and your change would be lost. - - -### Testing with `ansible-test` - - -``` -virtualenv -p python3.7 .virtualenv/py37 # Or any other version greater than 3.6 -source .virtualenv/py37/bin/activate -pip install -r requirements.txt -r test-requirements.txt -ansible-test network-integration --python 3.7 --inventory /tmp/inventory-vmware_rest vcenter_vm_scenario1 -``` +This collection can be generated using the [content_builder](https://github.com/ansible-community/ansible.content_builder) tool. Please refer to the [vmware module generation](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/development.md). ## Release notes diff --git a/ansible_collections/vmware/vmware_rest/changelogs/changelog.yaml b/ansible_collections/vmware/vmware_rest/changelogs/changelog.yaml index b8e6d73b4..f9cc57c8d 100644 --- a/ansible_collections/vmware/vmware_rest/changelogs/changelog.yaml +++ b/ansible_collections/vmware/vmware_rest/changelogs/changelog.yaml @@ -648,6 +648,43 @@ releases: fragments: - allow_space_in_search_filters.yaml - lookup-handle-special-chars.yml - - set_default_galaxy_version.yaml - release_summary.yml + - set_default_galaxy_version.yaml release_date: '2023-03-14' + 3.0.0: + changes: + breaking_changes: + - Remove support for ansible-core < 2.14 + minor_changes: + - Use 7.0 U3 API spec to build the modules (https://github.com/ansible-collections/vmware.vmware_rest/pull/449). + release_summary: This major release drops support for ansible-core versions + lower than 2.14. The vmware.vmware_rest colllection 3.0.0 supports vSphere + versions greater than 7.0.3. + fragments: + - add_dev_doc.yaml + - changelog-wf-only-on-pr.yaml + - fix_gha_sanity_tests.yaml + - gha_cleanup_version_update.yaml + - release_summary.yml + - remove_old_changelog_fragments.yaml + - remove_unnecessary_sanity_ignores.yaml + - start_gha_4_sanity_tests.yaml + - use_7.0.3_spec.yaml + release_date: '2023-11-27' + 3.0.1: + changes: + bugfixes: + - content_library_item_info - fixed error with unsupported property + - lookup plugins - Refactor to use native options configuration via doc_fragment, + which ensures that vcenter_validate_certs=false is honored (https://github.com/ansible-collections/vmware.vmware_rest/issues/425). + minor_changes: + - Add requires_ansible to manifest (https://github.com/ansible-community/ansible.content_builder/pull/76). + - Generate action_groups for the vmware.vmware_rest collection (https://github.com/ansible-community/ansible.content_builder/issues/75). + - Use folder attribute for host and dc module only (https://github.com/ansible-community/ansible.content_builder/pull/79). + fragments: + - 20240105-bugfix-lookup-options-parsing.yml + - 20240305-network-moid-docs-update.yml + - 463_fix_library_url.yaml + - 75-vmware_rest-action_groups.yaml + - 76-vmware_rest-dont_use_folder.yaml + release_date: '2024-03-21' diff --git a/ansible_collections/vmware/vmware_rest/changelogs/config.yaml b/ansible_collections/vmware/vmware_rest/changelogs/config.yaml index 7790c1100..33a52ac2d 100644 --- a/ansible_collections/vmware/vmware_rest/changelogs/config.yaml +++ b/ansible_collections/vmware/vmware_rest/changelogs/config.yaml @@ -2,7 +2,7 @@ changelog_filename_template: ../CHANGELOG.rst changelog_filename_version_depth: 0 changes_file: changelog.yaml changes_format: combined -keep_fragments: true +keep_fragments: false mention_ancestor: true new_plugins_after_name: removed_features notesdir: fragments diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/.keep b/ansible_collections/vmware/vmware_rest/changelogs/fragments/.keep new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/changelogs/fragments/.keep diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-changelog.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-changelog.yaml deleted file mode 100644 index 7599a19fd..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-changelog.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -minor_changes: -- add some missing example blocks. -bugfixes: -- > - "remove the following modules vcenter_vm_guest_environment_info vcenter_vm_guest_environment_info " - "vcenter_vm_guest_filesystemy vcenter_vm_guest_filesystem_files vcenter_vm_guest_filesystem_files_info " - "vcenter_vm_guest_processes vcenter_vm_guest_processes_info because they don't work as expected." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-module_utils.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-module_utils.yaml deleted file mode 100644 index e691b0190..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/2.1.3-module_utils.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "The module_utils/vmware.py is licensed under BSD." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/allow_space_in_search_filters.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/allow_space_in_search_filters.yaml deleted file mode 100644 index 70d487d47..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/allow_space_in_search_filters.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - "Allow filters with the space (See: https://github.com/ansible-collections/vmware.vmware_rest/issues/362)." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/cloud.common-bump.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/cloud.common-bump.yaml deleted file mode 100644 index ea6fd55a6..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/cloud.common-bump.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- Adjust the cloud.common dependency to require 2.0.4 or greater (https://github.com/ansible-collections/vmware.vmware_rest/pull/315). diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/lookup-handle-special-chars.yml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/lookup-handle-special-chars.yml deleted file mode 100644 index b71d104ee..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/lookup-handle-special-chars.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - "Handle spaces and special characters in resource names for lookup plugins (See: https://github.com/ansible-collections/vmware.vmware_rest/issues/356)." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/set_default_galaxy_version.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/set_default_galaxy_version.yaml deleted file mode 100644 index 35737c4a2..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/set_default_galaxy_version.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "set version in galaxy.yml to allow install from git repo" diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/use-FQCN-in-create_vm.yaml.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/use-FQCN-in-create_vm.yaml.yaml deleted file mode 100644 index beda39489..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/use-FQCN-in-create_vm.yaml.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "``content_subscribedlibrary`` - use FQCN in the example." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/vcenter_network_info-dvs-example.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/vcenter_network_info-dvs-example.yaml deleted file mode 100644 index 5bd66a031..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/vcenter_network_info-dvs-example.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "``vcenter_network_info`` - add an example with a Distributed Virtual Switch, a.k.a dvswitch (https://github.com/ansible-collections/vmware.vmware_rest/pull/316)." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/version_added.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/version_added.yaml deleted file mode 100644 index cc0d31c53..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/version_added.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "Adjust the release version of the lookup plugins fro, 2.0.1 to 2.1.0." diff --git a/ansible_collections/vmware/vmware_rest/changelogs/fragments/vm_template_library.yaml b/ansible_collections/vmware/vmware_rest/changelogs/fragments/vm_template_library.yaml deleted file mode 100644 index 1fab1f574..000000000 --- a/ansible_collections/vmware/vmware_rest/changelogs/fragments/vm_template_library.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- documentation - clarify that the VMware vCenter API doesn't allow the cloning of template if there are not if Library. diff --git a/ansible_collections/vmware/vmware_rest/development.md b/ansible_collections/vmware/vmware_rest/development.md new file mode 100644 index 000000000..956ca470f --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/development.md @@ -0,0 +1,72 @@ +# VMWare + +# Development Guide +## Installation + +Install the ansible.content_builder tool. +``` +pip install black==22.3.0 jsonschema jinja2==3.0.3 ansible-core +ansible-galaxy collection install git+https://github.com/ansible-community/ansible.content_builder.git +``` + +You can also include it in a `requirements.yml` file and install it via `ansible-galaxy collection install -r requirements.yml` using the format: + +``` +collections: +- name: ansible.content_builder +``` + +See [Ansible Using collections](https://docs.ansible.com/ansible/latest/user_guide/collections_using.html) for more details. + +## Using the Content Builder tool to generate vmware modules: + +To use the content builder tool, you need to provide a YAML file that contains all the information needed to generate a vmware module. You can find the necessary files, such as the [api specification](https://github.com/ansible-collections/vmware.vmware_rest/tree/main/config/api_specifications) and the [modules.yaml](https://github.com/ansible-collections/vmware.vmware_rest/tree/main/config/modules.yaml), in the repository. You can copy these files to your local path and customize them as per your requirements. After that, you must specify the path of these files in the input yaml file against the api_object_path and resource parameter. If you want to generate both examples and modules, set the action parameter to `generate_all`. If you only want to generate examples, use `action: generate_examples`, and for only modules, use `action: generate_modules`. For more information on the command and input arguments, please refer to the tool's [README](https://github.com/ansible-community/ansible.content_builder#resource-module-scaffolding-generated-using-openapi-based-json). To generate the vmware modules using the content_builder tool, you can use the following command: + +``` +ansible-playbook build.yaml -e manifest_file=MANIFEST.yaml +``` + +The build.yaml file should contain the following code: + +```yaml +--- +- hosts: localhost + gather_facts: yes + roles: + - ansible.content_builder.run +``` + +And the MANIFEST.yaml file should contain the following code: + +```yaml +--- +collection: + path: /collections/ansible_collections/vmware/vmware_rest + namespace: vmware + name: vmware_rest +plugins: + - type: module_openapi + name: "vmware_rest" + content: cloud + api_object_path: api_specifications/7.0.2 + resource: config + action: generate_all + unique_key: "" + rm_swagger_json: "" + module_version: "1.0.0" + author: "Ansible Cloud Team" +``` + +Once the modules are generated in the location mentioned in `collection:path`, you can follow the below steps to refresh the RETURN block in the module documentaion. + +**_Refresh the `RETURN Block` of the vmware modules using the test-suite:_** + +Set the env variables mentioned in [tox.ini](https://github.com/ansible-collections/vmware.vmware_rest/blob/main/tox.ini#L47). +``` + mkdir -p ~/.ansible/collections/ansible_collections/goneri/utils + git clone https://github.com/goneri/ansible-collection-goneri.utils.git ~/.ansible/collections/ansible_collections/goneri/utils + cd ~/.ansible/collections/ansible_collections/vmware/vmware_rest/tests/integration/targets/vcenter_vm_scenario1 + ./refresh_RETURN_block.sh + cd ~/.ansible/collections/ansible_collections/goneri/utils + ./scripts/inject_RETURN.py ~/.ansible/collections/ansible_collections/vmware/vmware_rest/manual/source/vmware_rest_scenarios/task_outputs ~/.ansible/collections/ansible_collections/vmware/vmware_rest --config-file config/inject_RETURN.yaml +``` diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_info_module.rst index ad97257d3..0deef6706 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_module.rst index 4a82a5175..3234237ee 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_consolecli_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -194,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_info_module.rst index 199ad6a61..81635394d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_module.rst index c92150307..5f8abce2b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_dcui_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -194,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_info_module.rst index d8472f76b..1cb4dcdc5 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_module.rst index 2980f0647..c7836791b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_shell_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -210,7 +210,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_info_module.rst index 5ebf87111..1f71fd38c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_module.rst index ce689f6b4..7ea11cca3 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_access_ssh_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -194,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_applmgmt_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_applmgmt_info_module.rst index 42623d726..0f99a32ea 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_applmgmt_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_applmgmt_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_database_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_database_info_module.rst index d781bbd41..32437265d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_database_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_database_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_databasestorage_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_databasestorage_info_module.rst index aa54178b7..d87c9ec82 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_databasestorage_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_databasestorage_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_load_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_load_info_module.rst index f6069d4a9..656243016 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_load_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_load_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_mem_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_mem_info_module.rst index a77c552ad..44cafb88c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_mem_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_mem_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_softwarepackages_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_softwarepackages_info_module.rst index 66e7c43b2..061d7f6b6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_softwarepackages_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_softwarepackages_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_storage_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_storage_info_module.rst index 941178c0c..c354fe489 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_storage_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_storage_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_swap_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_swap_info_module.rst index ba8dc6f4f..365d475b3 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_swap_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_swap_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_system_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_system_info_module.rst index e192df669..b5a597654 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_system_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_health_system_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_info_module.rst index 563c26205..1387af2b8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_module.rst index 842336a15..af0e71ed8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_infraprofile_configs_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -225,7 +225,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_info_module.rst index 5dc2b7069..2c3cfec27 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_module.rst index 4a4a26f4d..c8127a9e8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_globalpolicy_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,7 @@ Parameters </td> <td> <div>Maximum number of days a password may be used. If the password is older than this, a password change will be forced.</div> + <div>If unset then the restriction will be ignored.</div> </td> </tr> <tr> @@ -69,6 +70,7 @@ Parameters </td> <td> <div>Minimum number of days allowed between password changes. Any password changes attempted sooner than this will be rejected.</div> + <div>If unset then the restriction will be ignored.</div> </td> </tr> <tr> @@ -209,6 +211,7 @@ Parameters </td> <td> <div>Number of days warning given before a password expires. A zero means warning is given only upon the day of expiration.</div> + <div>If unset then no warning will be provided.</div> </td> </tr> </table> @@ -219,7 +222,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_info_module.rst index 3ac8895f0..f7af04602 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_localaccounts_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -172,7 +172,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_info_module.rst index 7f642c9eb..ff263e4c8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -71,7 +71,8 @@ Parameters <td> </td> <td> - <div>statistic item id Required with <em>state=['get']</em></div> + <div>statistic item id</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_monitoring_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_query_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_query_module.rst index cbb5420fb..27bf8352c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_query_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_monitoring_query_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -76,7 +76,7 @@ Parameters </ul> </td> <td> - <div><code>function_type</code> Defines aggregation function This parameter is mandatory.</div> + <div><em>function_type</em> enumerated type Defines aggregation function This parameter is mandatory.</div> </td> </tr> <tr> @@ -99,7 +99,7 @@ Parameters </ul> </td> <td> - <div><code>interval_type</code> Defines interval between the values in hours and mins, for which aggregation will apply This parameter is mandatory.</div> + <div><em>interval_type</em> enumerated type Defines interval between the values in hours and mins, for which aggregation will apply This parameter is mandatory.</div> </td> </tr> <tr> @@ -116,7 +116,8 @@ Parameters <td> </td> <td> - <div>monitored item IDs Ex: CPU, MEMORY This parameter is mandatory.</div> + <div>monitored item IDs Ex: CPU, MEMORY</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.appliance_monitoring_info</span>.</div> </td> </tr> <tr> @@ -251,7 +252,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_info_module.rst index f3e455aa4..e3437c6a8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_module.rst index 30cfd355f..66baf0ef0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_domains_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -206,7 +206,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_info_module.rst index 09bbfbd38..123c29bb7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_module.rst index 9fac06b19..e1deee534 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_hostname_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -191,7 +191,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_info_module.rst index 22e3a7105..7a28f961b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_module.rst index d64a7fff2..d37c90071 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_dns_servers_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -57,7 +57,7 @@ Parameters </ul> </td> <td> - <div><code>dns_server_mode</code> Describes DNS Server source (DHCP,static) Required with <em>state=['set']</em></div> + <div><em>dns_server_mode</em> enumerated type Describes DNS Server source (DHCP,static) Required with <em>state=['set']</em></div> </td> </tr> <tr> @@ -226,7 +226,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_info_module.rst index 5315be6d4..69031bfbc 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_module.rst index cd25a625b..780a57ced 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_firewall_inbound_module.rst @@ -17,7 +17,7 @@ Version added: 2.0.0 Synopsis -------- -- Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses. This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows: <table> <tr> <th>Address</th><th>Prefix</th><th>Interface Name</th><th>Policy</th> </tr> <tr> <td>10.112.0.1</td><td>0</td><td>*</td><td>REJECT</td> </tr> <tr> <td>10.112.0.1</td><td>0</td><td>nic0</td><td>ACCEPT</td> </tr> </table> In the above example, the first rule drops all packets originating from 10.112.0.1 and<br> the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. +- Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses. This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows: [dropped table ] @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -61,7 +61,7 @@ Parameters <div>This key is required with ['set'].</div> <div>- <code>prefix</code> (int): CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address. (['set'])</div> <div>This key is required with ['set'].</div> - <div>- <code>policy</code> (str): <code>policy</code> Defines firewall rule policies. (['set'])</div> + <div>- <code>policy</code> (str): <em>policy</em> enumerated type Defines firewall rule policies. (['set'])</div> <div>This key is required with ['set'].</div> <div>- Accepted values:</div> <div>- ACCEPT</div> @@ -204,7 +204,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_info_module.rst index 81e483b01..21d75be2c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_info_module.rst index 4c53c478a..1865a43c6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Network interface, for example, "nic0". Required with <em>state=['get']</em></div> + <div>Network interface, for example, "nic0".</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_networking_interfaces_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_info_module.rst index f151d1397..ae06749e7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>The Network interface to query, for example, "nic0". Required with <em>state=['get']</em></div> + <div>The Network interface to query, for example, "nic0".</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_networking_interfaces_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_module.rst index 7477b360d..fde23189d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv4_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,7 @@ Parameters </td> <td> <div>The IPv4 address, for example, "10.20.80.191".</div> + <div>This field is optional and it is only relevant when the value of <em>mode</em> is STATIC.</div> </td> </tr> <tr> @@ -69,6 +70,7 @@ Parameters </td> <td> <div>The IPv4 address of the default gateway. This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces.</div> + <div>If unset, the defaultGateway was never set.</div> </td> </tr> <tr> @@ -84,7 +86,8 @@ Parameters <td> </td> <td> - <div>Network interface to update, for example, "nic0". This parameter is mandatory.</div> + <div>Network interface to update, for example, "nic0".</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_networking_interfaces_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -105,7 +108,7 @@ Parameters </ul> </td> <td> - <div>The <code>mode</code> defines different IPv4 address assignment modes. This parameter is mandatory.</div> + <div>The <em>mode</em> enumerated type defines different IPv4 address assignment modes. This parameter is mandatory.</div> </td> </tr> <tr> @@ -120,7 +123,8 @@ Parameters <td> </td> <td> - <div>The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.</div> + <div>The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.</div> + <div>This field is optional and it is only relevant when the value of <em>mode</em> is STATIC.</div> </td> </tr> <tr> @@ -256,7 +260,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_info_module.rst index 9df1a4bd8..8a9991f6f 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Network interface to query, for example, "nic0". Required with <em>state=['get']</em></div> + <div>Network interface to query, for example, "nic0".</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_networking_interfaces_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_module.rst index 16e571e75..5426cc20b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_interfaces_ipv6_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -132,7 +132,8 @@ Parameters <td> </td> <td> - <div>Network interface to update, for example, "nic0". This parameter is mandatory.</div> + <div>Network interface to update, for example, "nic0".</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_networking_interfaces_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -268,7 +269,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_module.rst index 40b348c1e..4562354b3 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>IPv6 Enabled or not</div> + <div>If unspecified, leaves the current state of Ipv6.</div> </td> </tr> <tr> @@ -194,7 +195,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_info_module.rst index 711c60ff2..51e1a82d7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 @@ -190,15 +190,13 @@ Common return values are documented `here <https://docs.ansible.com/ansible/late <b>value</b> <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> <div style="font-size: small"> - <span style="color: purple">list</span> + <span style="color: purple">dictionary</span> </div> </td> <td>On success</td> <td> - <div>Get HTTP noproxy configuration</div> + <div>Remove the noproxy entries</div> <br/> - <div style="font-size: smaller"><b>Sample:</b></div> - <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['localhost', '127.0.0.1']</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_module.rst index 1a606ff45..fc47e40d4 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_noproxy_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -191,7 +191,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_info_module.rst index b081af34b..a66d640fb 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -172,7 +172,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_module.rst index 2b010a621..a7e04b6a1 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_networking_proxy_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -59,9 +59,11 @@ Parameters <div>This key is required with ['test'].</div> <div>- <code>port</code> (int): Port to connect to the proxy server. In a 'get' call, indicates the port connected to the proxy server. In a 'set' call, specifies the port to connect to the proxy server. A value of -1 indicates the default port. (['test'])</div> <div>This key is required with ['test'].</div> - <div>- <code>username</code> (str): Username for proxy server. (['test'])</div> - <div>- <code>password</code> (str): Password for proxy server. (['test'])</div> - <div>- <code>enabled</code> (bool): In the result of the <code>#get</code> and <code>#list</code> {@term operations} this field indicates whether proxying is enabled for a particular protocol. In the input to the <code>test</code> and <code>set</code> {@term operations} this field specifies whether proxying should be enabled for a particular protocol. (['test'])</div> + <div>- <code>username</code> (str): Username for proxy server.</div> + <div>Only set if proxy requires username. (['test'])</div> + <div>- <code>password</code> (str): Password for proxy server.</div> + <div>Only set if proxy requires password. (['test'])</div> + <div>- <code>enabled</code> (bool): In the result of the #get and #list operations this field indicates whether proxying is enabled for a particular protocol. In the input to the test and set operations this field specifies whether proxying should be enabled for a particular protocol. (['test'])</div> <div>This key is required with ['test'].</div> </td> </tr> @@ -81,7 +83,7 @@ Parameters </ul> </td> <td> - <div>In the result of the <code>#get</code> and <code>#list</code> {@term operations} this field indicates whether proxying is enabled for a particular protocol. In the input to the <code>test</code> and <code>set</code> {@term operations} this field specifies whether proxying should be enabled for a particular protocol. Required with <em>state=['set']</em></div> + <div>In the result of the #get and #list operations this field indicates whether proxying is enabled for a particular protocol. In the input to the test and set operations this field specifies whether proxying should be enabled for a particular protocol. Required with <em>state=['set']</em></div> </td> </tr> <tr> @@ -112,6 +114,7 @@ Parameters </td> <td> <div>Password for proxy server.</div> + <div>Only set if proxy requires password.</div> </td> </tr> <tr> @@ -210,6 +213,7 @@ Parameters </td> <td> <div>Username for proxy server.</div> + <div>Only set if proxy requires username.</div> </td> </tr> <tr> @@ -310,7 +314,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_info_module.rst index 8a98ad912..b771d44c9 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_module.rst index 6c8fc2fe5..fb87a4138 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_ntp_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -192,7 +192,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_info_module.rst index 0d11d786f..90f8378c6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>identifier of the service whose state is being queried. Required with <em>state=['get']</em></div> + <div>identifier of the service whose state is being queried.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_services_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_module.rst index fb5be4141..484e5cd12 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_services_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,7 +54,8 @@ Parameters <td> </td> <td> - <div>identifier of the service to restart This parameter is mandatory.</div> + <div>identifier of the service to restart</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.appliance_services_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -193,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_info_module.rst index 8f90e9a24..e6e0e0e5b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_module.rst index 6dd695fe7..d2b16d3bf 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_shutdown_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -207,7 +207,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_info_module.rst index 47d61da0c..f4d349cef 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_module.rst index 77af351d1..730745653 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_globalfips_module.rst @@ -17,7 +17,7 @@ Version added: 2.0.0 Synopsis -------- -- Enable/Disable Global FIPS mode for the appliance. <p><b>Caution:</b> Changing the value of this setting will reboot the Appliance. +- Enable/Disable Global FIPS mode for the appliance. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>FIPS setting state.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -193,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_info_module.rst index cf7e5089b..59d86c925 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_module.rst index a61dc5897..4b32410f0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_storage_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -176,7 +176,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_info_module.rst index 217270a1e..90b33a6b1 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_info_module.rst index 276ce7fa2..ce7397dff 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_module.rst index e15484e47..f3c18e8df 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_time_timezone_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -190,7 +190,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_version_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_version_info_module.rst index 425a493f5..66fd273cd 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_version_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_system_version_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_info_module.rst index 178f4266f..876f14b76 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_module.rst index ab78afe93..600fb85b7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_timesync_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -59,7 +59,7 @@ Parameters </ul> </td> <td> - <div>The <code>time_sync_mode</code> defines time synchronization modes This parameter is mandatory.</div> + <div>The <em>time_sync_mode</em> enumerated type defines time synchronization modes This parameter is mandatory.</div> </td> </tr> <tr> @@ -195,7 +195,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_update_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_update_info_module.rst index d2fd392fb..b288a6dbb 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_update_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_update_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_info_module.rst index ed7104315..d62a3bb74 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -173,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_module.rst index 5fa8058ff..bbff189ba 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.appliance_vmon_service_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -214,7 +214,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.cluster_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.cluster_moid_lookup.rst index 190d3535a..1af5dd5c5 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.cluster_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.cluster_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> @@ -174,9 +171,9 @@ Examples - name: set connection info ansible.builtin.set_fact: connection_args: - vcenter_hostname: "vcenter.test" - vcenter_username: "administrator@vsphere.local" - vcenter_password: "1234" + vcenter_hostname: "vcenter.test" + vcenter_username: "administrator@vsphere.local" + vcenter_password: "1234" - name: lookup MoID of the object ansible.builtin.debug: msg="{{ lookup('vmware.vmware_rest.cluster_moid', '/my_dc/host/my_cluster', **connection_args) }}" diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_info_module.rst index dced88933..ff6b937ce 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -157,7 +157,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_module.rst index 9eb24b58d..52754ce8f 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_configuration_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -238,7 +238,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_library_item_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_library_item_info_module.rst index 171c029de..b45b08afa 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_library_item_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_library_item_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -187,7 +187,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_info_module.rst index ff24517b4..98f8192b9 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -172,7 +172,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_module.rst index 6c55afc4b..c4219c9ea 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_locallibrary_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -207,6 +207,21 @@ Parameters <tr> <td colspan="1"> <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>security_policy_id</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Represents the security policy applied to this library. Setting the field will make the library secure. This field is ignored in <code>update</code>operation if {@link #unsetSecurityPolicyId} is set to <code>True</code>.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> <b>server_guid</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> @@ -350,6 +365,25 @@ Parameters <tr> <td colspan="1"> <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>unset_security_policy_id</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">boolean</span> + </div> + </td> + <td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>no</li> + <li>yes</li> + </ul> + </td> + <td> + <div>This represents the intent of the change to {@link #securityPolicyId} in <code>update</code>operation. If this field is set to <code>True</code>, any security policy applied to the library will be removed. If this field is set to <code>False</code>, any security policy applied to library will be changed to the value specified in {@link #securityPolicyId}, if any.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> <b>vcenter_hostname</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> @@ -460,7 +494,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst index 054750d64..4a90cfdab 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -172,7 +172,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_module.rst index a98f77fda..17f25ebe8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.content_subscribedlibrary_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -207,6 +207,21 @@ Parameters <tr> <td colspan="1"> <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>security_policy_id</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + </td> + <td> + <div>Represents the security policy applied to this library. Setting the field will make the library secure. This field is ignored in <code>update</code>operation if {@link #unsetSecurityPolicyId} is set to <code>True</code>.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> <b>server_guid</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> @@ -333,6 +348,25 @@ Parameters <tr> <td colspan="1"> <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>unset_security_policy_id</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">boolean</span> + </div> + </td> + <td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li>no</li> + <li>yes</li> + </ul> + </td> + <td> + <div>This represents the intent of the change to {@link #securityPolicyId} in <code>update</code>operation. If this field is set to <code>True</code>, any security policy applied to the library will be removed. If this field is set to <code>False</code>, any security policy applied to library will be changed to the value specified in {@link #securityPolicyId}, if any.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> <b>vcenter_hostname</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> @@ -443,7 +477,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datacenter_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datacenter_moid_lookup.rst index 122bca9ed..4291b22cb 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datacenter_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datacenter_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datastore_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datastore_moid_lookup.rst index cdd04ae4b..c390bc466 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datastore_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.datastore_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.folder_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.folder_moid_lookup.rst index 6dbf99e4f..4bafe0066 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.folder_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.folder_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.host_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.host_moid_lookup.rst index d95332d1f..9db9d8523 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.host_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.host_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.network_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.network_moid_lookup.rst index af0d35175..2e7340705 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.network_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.network_moid_lookup.rst @@ -18,6 +18,7 @@ Version added: 2.1.0 Synopsis -------- - Returns Managed Object Reference (MoID) of the vSphere network object contained in the specified path. +- This lookup cannot distinguish between multiple networks with the same name defined in multiple switches as that is not supported by the vSphere REST API; network names must be unique within a given datacenter/folder path. @@ -48,7 +49,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +74,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +93,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +111,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +132,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +148,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.resource_pool_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.resource_pool_moid_lookup.rst index 006edcd9d..6267c69ad 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.resource_pool_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.resource_pool_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst index b1e012370..879f9b5e6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_cluster_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_cluster_info *************************************** -**Retrieves information about the cluster corresponding to {@param.name cluster}.** +**Retrieves information about the cluster corresponding to cluster.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Retrieves information about the cluster corresponding to {@param.name cluster}. +- Retrieves information about the cluster corresponding to cluster. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Identifier of the cluster. Required with <em>state=['get']</em></div> + <div>Identifier of the cluster.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -70,6 +71,8 @@ Parameters </td> <td> <div>Identifiers of clusters that can match the filter.</div> + <div>If unset or empty, clusters with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>.</div> </td> </tr> <tr> @@ -86,6 +89,8 @@ Parameters </td> <td> <div>Datacenters that must contain the cluster for the cluster to match the filter.</div> + <div>If unset or empty, clusters in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -103,6 +108,8 @@ Parameters </td> <td> <div>Folders that must contain the cluster for the cluster to match the filter.</div> + <div>If unset or empty, clusters in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -119,7 +126,8 @@ Parameters <td> </td> <td> - <div>Names that clusters must have to match the filter (see {@link Info#name}).</div> + <div>Names that clusters must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, clusters with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -239,7 +247,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst index 65fcd317b..fc896abe1 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_datacenter_info ****************************************** -**Retrieves information about the datacenter corresponding to {@param.name datacenter}.** +**Retrieves information about the datacenter corresponding to datacenter.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Retrieves information about the datacenter corresponding to {@param.name datacenter}. +- Retrieves information about the datacenter corresponding to datacenter. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Identifier of the datacenter. Required with <em>state=['get']</em></div> + <div>Identifier of the datacenter.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -70,6 +71,8 @@ Parameters </td> <td> <div>Identifiers of datacenters that can match the filter.</div> + <div>If unset or empty, datacenters with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -87,6 +90,8 @@ Parameters </td> <td> <div>Folders that must contain the datacenters for the datacenter to match the filter.</div> + <div>If unset or empty, datacenters in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -103,7 +108,8 @@ Parameters <td> </td> <td> - <div>Names that datacenters must have to match the filter (see {@link Info#name}).</div> + <div>Names that datacenters must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, datacenters with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -223,7 +229,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_module.rst index db29e2eb3..68c9d7bac 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datacenter_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Identifier of the datacenter to be deleted. Required with <em>state=['absent']</em></div> + <div>Identifier of the datacenter to be deleted.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>. Required with <em>state=['absent']</em></div> </td> </tr> <tr> @@ -69,6 +70,8 @@ Parameters </td> <td> <div>Datacenter folder in which the new datacenter should be created.</div> + <div>This field is currently required. In the future, if this field is unset, the system will attempt to choose a suitable folder for the datacenter; if a folder cannot be chosen, the datacenter creation operation will fail.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> </td> </tr> <tr> @@ -88,6 +91,7 @@ Parameters </td> <td> <div>If true, delete the datacenter even if it is not empty.</div> + <div>If unset a ResourceInUse error will be reported if the datacenter is not empty. This is the equivalent of passing the value false.</div> </td> </tr> <tr> @@ -239,7 +243,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 @@ -251,7 +255,6 @@ Examples - name: Get a list of all the datacenters register: existing_datacenters vmware.vmware_rest.vcenter_datacenter_info: - - name: Force delete the existing DC vmware.vmware_rest.vcenter_datacenter: state: absent @@ -261,7 +264,6 @@ Examples until: - _result is not failed retries: 7 - - name: Create datacenter my_dc vmware.vmware_rest.vcenter_datacenter: name: my_dc diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst index bdc4e6b98..4fa040e6c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_datastore_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_datastore_info ***************************************** -**Retrieves information about the datastore indicated by {@param.name datastore}.** +**Retrieves information about the datastore indicated by datastore.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Retrieves information about the datastore indicated by {@param.name datastore}. +- Retrieves information about the datastore indicated by datastore. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Datacenters that must contain the datastore for the datastore to match the filter.</div> + <div>If unset or empty, datastores in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -70,7 +72,8 @@ Parameters <td> </td> <td> - <div>Identifier of the datastore for which information should be retrieved. Required with <em>state=['get']</em></div> + <div>Identifier of the datastore for which information should be retrieved.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_datastore_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -87,6 +90,8 @@ Parameters </td> <td> <div>Identifiers of datastores that can match the filter.</div> + <div>If unset or empty, datastores with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datastore_info</span>.</div> </td> </tr> <tr> @@ -103,6 +108,8 @@ Parameters </td> <td> <div>Folders that must contain the datastore for the datastore to match the filter.</div> + <div>If unset or empty, datastores in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -119,7 +126,8 @@ Parameters <td> </td> <td> - <div>Names that datastores must have to match the filter (see {@link Info#name}).</div> + <div>Names that datastores must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, datastores with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -154,7 +162,8 @@ Parameters <td> </td> <td> - <div>Types that datastores must have to match the filter (see {@link Summary#type}).</div> + <div>Types that datastores must have to match the filter (see <em>type</em>).</div> + <div>If unset or empty, datastores with any type match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_types</div> </td> </tr> @@ -256,7 +265,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_folder_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_folder_info_module.rst index 6c5612e06..99bcff22a 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_folder_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_folder_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_folder_info ************************************** -**Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the {@link FilterSpec}.** +**Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the Folder.FilterSpec.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the {@link FilterSpec}. +- Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the Folder.FilterSpec. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Datacenters that must contain the folder for the folder to match the filter.</div> + <div>If unset or empty, folder in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -72,6 +74,8 @@ Parameters </td> <td> <div>Identifiers of folders that can match the filter.</div> + <div>If unset or empty, folders with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -88,7 +92,8 @@ Parameters <td> </td> <td> - <div>Names that folders must have to match the filter (see {@link Summary#name}).</div> + <div>Names that folders must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, folders with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -106,6 +111,8 @@ Parameters </td> <td> <div>Folders that must contain the folder for the folder to match the filter.</div> + <div>If unset or empty, folder in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> </td> </tr> <tr> @@ -145,7 +152,7 @@ Parameters </ul> </td> <td> - <div>The <code>type</code> defines the type of a vCenter Server folder. The type of a folder determines what what kinds of children can be contained in the folder.</div> + <div>The <em>type</em> enumerated type defines the type of a vCenter Server folder. The type of a folder determines what what kinds of children can be contained in the folder.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_type</div> </td> </tr> @@ -247,7 +254,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_info_module.rst index 6e4e11b30..cf4a17c78 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_host_info ************************************ -**Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the {@link FilterSpec}.** +**Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the Host.FilterSpec.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the {@link FilterSpec}. +- Returns information about at most 2500 visible (subject to permission checks) hosts in vCenter matching the Host.FilterSpec. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Clusters that must contain the hosts for the hosts to match the filter.</div> + <div>If unset or empty, hosts in any cluster and hosts that are not in a cluster match the filter. If this field is not empty and <em>standalone</em> is true, no hosts will match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>.</div> </td> </tr> <tr> @@ -70,7 +72,8 @@ Parameters <td> </td> <td> - <div>Connection states that a host must be in to match the filter (see {@link Summary#connectionState}.</div> + <div>Connection states that a host must be in to match the filter (see I()</div> + <div>If unset or empty, hosts in any connection state match the filter.</div> </td> </tr> <tr> @@ -87,6 +90,8 @@ Parameters </td> <td> <div>Datacenters that must contain the hosts for the hosts to match the filter.</div> + <div>If unset or empty, hosts in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -104,6 +109,8 @@ Parameters </td> <td> <div>Folders that must contain the hosts for the hosts to match the filter.</div> + <div>If unset or empty, hosts in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -121,6 +128,8 @@ Parameters </td> <td> <div>Identifiers of hosts that can match the filter.</div> + <div>If unset or empty, hosts with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_host_info</span>.</div> </td> </tr> <tr> @@ -136,7 +145,8 @@ Parameters <td> </td> <td> - <div>Names that hosts must have to match the filter (see {@link Summary#name}).</div> + <div>Names that hosts must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, hosts with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -175,6 +185,7 @@ Parameters </td> <td> <div>If true, only hosts that are not part of a cluster can match the filter, and if false, only hosts that are are part of a cluster can match the filter.</div> + <div>If unset Hosts can match filter independent of whether they are part of a cluster or not. If this field is true and <em>clusters</em> os not empty, no hosts will match the filter.</div> </td> </tr> <tr> @@ -275,7 +286,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_module.rst index 362cc5a84..e03c304aa 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_host_module.rst @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Add a new standalone host in the vCenter inventory. The newly connected host will be in connected state. The vCenter Server will verify the SSL certificate before adding the host to its inventory. In the case where the SSL certificate cannot be verified because the Certificate Authority is not recognized or the certificate is self signed, the vCenter Server will fall back to thumbprint verification mode as defined by {@link CreateSpec.ThumbprintVerification}. +- Add a new standalone host in the vCenter inventory. The newly connected host will be in connected state. The vCenter Server will verify the SSL certificate before adding the host to its inventory. In the case where the SSL certificate cannot be verified because the Certificate Authority is not recognized or the certificate is self signed, the vCenter Server will fall back to thumbprint verification mode as defined by Host.CreateSpec.ThumbprintVerification. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,8 @@ Parameters </td> <td> <div>Host and cluster folder in which the new standalone host should be created.</div> + <div>This field is currently required. In the future, if this field is unset, the system will attempt to choose a suitable folder for the host; if a folder cannot be chosen, the host creation operation will fail.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> </td> </tr> <tr> @@ -73,6 +75,7 @@ Parameters </td> <td> <div>Whether host should be added to the vCenter Server even if it is being managed by another vCenter Server. The original vCenterServer loses connection to the host.</div> + <div>If unset, forceAdd is default to false.</div> </td> </tr> <tr> @@ -87,7 +90,8 @@ Parameters <td> </td> <td> - <div>Identifier of the host to be disconnected. Required with <em>state=['absent', 'connect', 'disconnect']</em></div> + <div>Identifier of the host to be disconnected.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_host_info</span>. Required with <em>state=['absent', 'connect', 'disconnect']</em></div> </td> </tr> <tr> @@ -133,6 +137,7 @@ Parameters </td> <td> <div>The port of the host.</div> + <div>If unset, port 443 will be used.</div> </td> </tr> <tr> @@ -186,6 +191,7 @@ Parameters </td> <td> <div>The thumbprint of the SSL certificate, which the host is expected to have. The thumbprint is always computed using the SHA1 hash and is the string representation of that hash in the format: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx where, 'x' represents a hexadecimal digit.</div> + <div>This field is optional and it is only relevant when the value of <em>thumbprint_verification</em> is THUMBPRINT.</div> </td> </tr> <tr> @@ -204,7 +210,7 @@ Parameters </ul> </td> <td> - <div>The <code>thumbprint_verification</code> defines the thumbprint verification schemes for a host's SSL certificate. Required with <em>state=['present']</em></div> + <div>The <em>thumbprint_verification</em> enumerated type defines the thumbprint verification schemes for a host's SSL certificate. Required with <em>state=['present']</em></div> </td> </tr> <tr> @@ -320,7 +326,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_network_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_network_info_module.rst index 7c822fef3..edf435da0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_network_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_network_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_network_info *************************************** -**Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the {@link FilterSpec}.** +**Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the {@link FilterSpec}. +- Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Datacenters that must contain the network for the network to match the filter.</div> + <div>If unset or empty, networks in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -72,6 +74,8 @@ Parameters </td> <td> <div>Folders that must contain the network for the network to match the filter.</div> + <div>If unset or empty, networks in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -88,7 +92,8 @@ Parameters <td> </td> <td> - <div>Names that networks must have to match the filter (see {@link Summary#name}).</div> + <div>Names that networks must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, networks with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -106,6 +111,8 @@ Parameters </td> <td> <div>Identifiers of networks that can match the filter.</div> + <div>If unset or empty, networks with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_network_info</span>.</div> </td> </tr> <tr> @@ -139,7 +146,8 @@ Parameters <td> </td> <td> - <div>Types that networks must have to match the filter (see {@link Summary#type}).</div> + <div>Types that networks must have to match the filter (see <em>type</em>).</div> + <div>If unset, networks with any type match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_types</div> </td> </tr> @@ -241,7 +249,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst index bf991390a..76f36b677 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_ovf_libraryitem_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -300,7 +300,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst index 0e836a88b..c2a833d59 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_info_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_resourcepool_info ******************************************** -**Retrieves information about the resource pool indicated by {@param.name resourcePool}.** +**Retrieves information about the resource pool indicated by resourcePool.** Version added: 0.3.0 @@ -17,7 +17,7 @@ Version added: 0.3.0 Synopsis -------- -- Retrieves information about the resource pool indicated by {@param.name resourcePool}. +- Retrieves information about the resource pool indicated by resourcePool. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Clusters that must contain the resource pool for the resource pool to match the filter.</div> + <div>If unset or empty, resource pools in any cluster match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>.</div> </td> </tr> <tr> @@ -71,6 +73,8 @@ Parameters </td> <td> <div>Datacenters that must contain the resource pool for the resource pool to match the filter.</div> + <div>If unset or empty, resource pools in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -88,6 +92,8 @@ Parameters </td> <td> <div>Hosts that must contain the resource pool for the resource pool to match the filter.</div> + <div>If unset or empty, resource pools in any host match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_host_info</span>.</div> </td> </tr> <tr> @@ -103,7 +109,8 @@ Parameters <td> </td> <td> - <div>Names that resource pools must have to match the filter (see {@link Info#name}).</div> + <div>Names that resource pools must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, resource pools with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -121,6 +128,8 @@ Parameters </td> <td> <div>Resource pools that must contain the resource pool for the resource pool to match the filter.</div> + <div>If unset or empty, resource pools in any resource pool match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>.</div> </td> </tr> <tr> @@ -135,7 +144,8 @@ Parameters <td> </td> <td> - <div>Identifier of the resource pool for which information should be retrieved. Required with <em>state=['get']</em></div> + <div>Identifier of the resource pool for which information should be retrieved.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -152,6 +162,8 @@ Parameters </td> <td> <div>Identifiers of resource pools that can match the filter.</div> + <div>If unset or empty, resource pools with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>.</div> </td> </tr> <tr> @@ -270,7 +282,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 @@ -282,18 +294,15 @@ Examples - name: Get the existing resource pools vmware.vmware_rest.vcenter_resourcepool_info: register: resource_pools - - name: Get the existing resource pool vmware.vmware_rest.vcenter_resourcepool_info: resource_pool: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Create a generic resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool parent: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Read details from a specific resource pool vmware.vmware_rest.vcenter_resourcepool_info: resource_pool: '{{ my_resource_pool.id }}' diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_module.rst index aee7c5235..6383e31ee 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_resourcepool_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,19 +54,26 @@ Parameters </td> <td> <div>Resource allocation for CPU.</div> + <div>if unset or empty, the CPU allocation of the resource pool will not be changed.</div> <div>Valid attributes are:</div> - <div>- <code>reservation</code> (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, and MHz for CPU. (['present'])</div> - <div>- <code>expandable_reservation</code> (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation is called a fixed reservation. (['present'])</div> - <div>- <code>limit</code> (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, and MHz for CPU. (['present'])</div> + <div>- <code>reservation</code> (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, and MHz for CPU.</div> + <div>If unset or empty, <em>reservation</em> will be set to 0. (['present'])</div> + <div>- <code>expandable_reservation</code> (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation is called a fixed reservation.</div> + <div>If unset or empty, <em>expandable_reservation</em> will be set to true. (['present'])</div> + <div>- <code>limit</code> (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, and MHz for CPU.</div> + <div>If unset or empty, <em>limit</em> will be set to -1. (['present'])</div> <div>- <code>shares</code> (dict): Shares are used in case of resource contention. (['present'])</div> <div>- Accepted keys:</div> - <div>- level (string): The <code>level</code> defines the possible values for the allocation level.</div> + <div>- level (string): This option defines the possible values for the allocation level.</div> <div>Accepted value for this field:</div> <div>- <code>CUSTOM</code></div> <div>- <code>HIGH</code></div> <div>- <code>LOW</code></div> <div>- <code>NORMAL</code></div> - <div>- shares (integer): When {@link #level} is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored. There is no unit for this value. It is a relative measure based on the settings for other resource pools.</div> + <div>- shares (integer): When <em>level</em> is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored.</div> + <div>There is no unit for this value. It is a relative measure based on the settings for other resource pools.</div> + <div></div> + <div>This field is optional and it is only relevant when the value of <em>level</em> is CUSTOM.</div> </td> </tr> <tr> @@ -82,19 +89,26 @@ Parameters </td> <td> <div>Resource allocation for CPU.</div> + <div>if unset or empty, the CPU allocation of the resource pool will not be changed.</div> <div>Valid attributes are:</div> - <div>- <code>reservation</code> (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, and MHz for CPU. (['present'])</div> - <div>- <code>expandable_reservation</code> (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation is called a fixed reservation. (['present'])</div> - <div>- <code>limit</code> (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, and MHz for CPU. (['present'])</div> + <div>- <code>reservation</code> (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, and MHz for CPU.</div> + <div>If unset or empty, <em>reservation</em> will be set to 0. (['present'])</div> + <div>- <code>expandable_reservation</code> (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation is called a fixed reservation.</div> + <div>If unset or empty, <em>expandable_reservation</em> will be set to true. (['present'])</div> + <div>- <code>limit</code> (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, and MHz for CPU.</div> + <div>If unset or empty, <em>limit</em> will be set to -1. (['present'])</div> <div>- <code>shares</code> (dict): Shares are used in case of resource contention. (['present'])</div> <div>- Accepted keys:</div> - <div>- level (string): The <code>level</code> defines the possible values for the allocation level.</div> + <div>- level (string): This option defines the possible values for the allocation level.</div> <div>Accepted value for this field:</div> <div>- <code>CUSTOM</code></div> <div>- <code>HIGH</code></div> <div>- <code>LOW</code></div> <div>- <code>NORMAL</code></div> - <div>- shares (integer): When {@link #level} is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored. There is no unit for this value. It is a relative measure based on the settings for other resource pools.</div> + <div>- shares (integer): When <em>level</em> is set to CUSTOM, it is the number of shares allocated. Otherwise, this value is ignored.</div> + <div>There is no unit for this value. It is a relative measure based on the settings for other resource pools.</div> + <div></div> + <div>This field is optional and it is only relevant when the value of <em>level</em> is CUSTOM.</div> </td> </tr> <tr> @@ -109,7 +123,8 @@ Parameters <td> </td> <td> - <div>Name of the resource pool. Required with <em>state=['present']</em></div> + <div>Name of the resource pool.</div> + <div>if unset or empty, the name of the resource pool will not be changed. Required with <em>state=['present']</em></div> </td> </tr> <tr> @@ -124,7 +139,8 @@ Parameters <td> </td> <td> - <div>Parent of the created resource pool. Required with <em>state=['present']</em></div> + <div>Parent of the created resource pool.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>. Required with <em>state=['present']</em></div> </td> </tr> <tr> @@ -139,7 +155,8 @@ Parameters <td> </td> <td> - <div>Identifier of the resource pool to be deleted. Required with <em>state=['absent', 'present']</em></div> + <div>Identifier of the resource pool to be deleted.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>. Required with <em>state=['absent', 'present']</em></div> </td> </tr> <tr> @@ -276,7 +293,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 @@ -288,50 +305,46 @@ Examples - name: Get the existing resource pools vmware.vmware_rest.vcenter_resourcepool_info: register: resource_pools - - name: Create an Ad hoc resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool parent: '{{ resource_pools.value[0].resource_pool }}' cpu_allocation: - expandable_reservation: true - limit: 40 - reservation: 0 - shares: + expandable_reservation: true + limit: 40 + reservation: 0 + shares: level: NORMAL memory_allocation: - expandable_reservation: false - limit: 2000 - reservation: 0 - shares: + expandable_reservation: false + limit: 2000 + reservation: 0 + shares: level: NORMAL register: my_resource_pool - - name: Remove a resource pool vmware.vmware_rest.vcenter_resourcepool: resource_pool: '{{ my_resource_pool.id }}' state: absent - - name: Create a generic resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool parent: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Modify a resource pool vmware.vmware_rest.vcenter_resourcepool: resource_pool: '{{ my_resource_pool.id }}' cpu_allocation: - expandable_reservation: true - limit: -1 - reservation: 0 - shares: + expandable_reservation: true + limit: -1 + reservation: 0 + shares: level: NORMAL memory_allocation: - expandable_reservation: false - limit: 1000 - reservation: 0 - shares: + expandable_reservation: false + limit: 1000 + reservation: 0 + shares: level: NORMAL diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst index ff58ffb3b..59c953224 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_storage_policies_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Identifiers of storage policies that can match the filter.</div> + <div>If unset or empty, storage policies with any identifiers match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_storage_policies</span>.</div> </td> </tr> <tr> @@ -173,7 +175,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst index 1305070a2..65b62d24d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_customization_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -56,21 +56,52 @@ Parameters <td> <div>Settings to be applied to the guest during the customization. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>windows_config</code> (dict): Guest customization specification for a Windows guest operating system (['set'])</div> + <div>- <code>windows_config</code> (dict): Guest customization specification for a Windows guest operating system</div> + <div>If unset, ConfigurationSpec.linux-config or ConfigurationSpec.cloud-config must be set. Otherwise, an appropriate fault will be thrown. (['set'])</div> <div>- Accepted keys:</div> - <div>- reboot (string): The <code>reboot_option</code> specifies what should be done to the guest after the customization.</div> + <div>- reboot (string): This option specifies what should be done to the guest after the customization.</div> <div>Accepted value for this field:</div> <div>- <code>NO_REBOOT</code></div> <div>- <code>REBOOT</code></div> <div>- <code>SHUTDOWN</code></div> - <div>- sysprep (object): Customization settings like user details, administrator details, etc for the windows guest operating system. Exactly one of <code>#sysprep</code> or <code>#sysprep_xml</code> must be specified.</div> - <div>- sysprep_xml (string): All settings specified in a XML format. This is the content of a typical answer.xml file that is used by System administrators during the Windows image customization. Check https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs Exactly one of <code>#sysprep</code> or <code>#sysprep_xml</code> must be specified.</div> - <div>- <code>linux_config</code> (dict): Guest customization specification for a linux guest operating system (['set'])</div> + <div>- sysprep (object): Customization settings like user details, administrator details, etc for the windows guest operating system. Exactly one of WindowsConfiguration.sysprep or WindowsConfiguration.sysprep-xml must be specified.</div> + <div>If unset, sysprep settings will not be applied to the windows guest operating system.</div> + <div>- sysprep_xml (string): All settings specified in a XML format. This is the content of a typical answer.xml file that is used by System administrators during the Windows image customization. Check https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs Exactly one of WindowsConfiguration.sysprep or WindowsConfiguration.sysprep-xml must be specified.</div> + <div>If unset, sysprep settings will not be applied to the windows guest operating system.</div> + <div>- <code>linux_config</code> (dict): Guest customization specification for a linux guest operating system</div> + <div>If unset, ConfigurationSpec.windows-config or ConfigurationSpec.cloud-config must be set. Otherwise, an appropriate fault will be thrown. (['set'])</div> <div>- Accepted keys:</div> - <div>- hostname (object): The computer name of the (Windows) virtual machine. A computer name may contain letters (A-Z), numbers(0-9) and hyphens (-) but no spaces or periods (.). The name may not consist entirely of digits. A computer name is restricted to 15 characters in length. If the computer name is longer than 15 characters, it will be truncated to 15 characters. Check {@link HostnameGenerator} for various options.</div> + <div>- hostname (object): The computer name of the (Windows) virtual machine. A computer name may contain letters (A-Z), numbers(0-9) and hyphens (-) but no spaces or periods (.). The name may not consist entirely of digits. A computer name is restricted to 15 characters in length. If the computer name is longer than 15 characters, it will be truncated to 15 characters. Check HostnameGenerator for various options.</div> <div>- domain (string): The fully qualified domain name.</div> - <div>- time_zone (string): The case-sensitive time zone, such as Europe/Sofia. Valid time zone values are based on the tz (time zone) database used by Linux. The values are strings in the form "Area/Location," in which Area is a continent or ocean name, and Location is the city, island, or other regional designation. See the https://kb.vmware.com/kb/2145518 for a list of supported time zones for different versions in Linux.</div> - <div>- script_text (string): The script to run before and after Linux guest customization.<br> The max size of the script is 1500 bytes. As long as the script (shell, perl, python...) has the right "#!" in the header, it is supported. The caller should not assume any environment variables when the script is run. The script is invoked by the customization engine using the command line: 1) with argument "precustomization" before customization, 2) with argument "postcustomization" after customization. The script should parse this argument and implement pre-customization or post-customization task code details in the corresponding block. A Linux shell script example: <code> #!/bin/sh<br> if [ x$1 == x"precustomization" ]; then<br> echo "Do Precustomization tasks"<br> #code for pre-customization actions...<br> elif [ x$1 == x"postcustomization" ]; then<br> echo "Do Postcustomization tasks"<br> #code for post-customization actions...<br> fi<br> </code></div> + <div>- time_zone (string): The case-sensitive time zone, such as Europe/Sofia. Valid time zone values are based on the tz (time zone) database used by Linux. The values are strings (string) in the form "Area/Location," in which Area is a continent or ocean name, and Location is the city, island, or other regional designation.</div> + <div>See the https://kb.vmware.com/kb/2145518 for a list of supported time zones for different versions in Linux.</div> + <div></div> + <div>If unset, time zone is not modified inside guest operating system.</div> + <div>- script_text (string): The script to run before and after Linux guest customization.</div> + <div>The max size of the script is 1500 bytes. As long as the script (shell, perl, python...) has the right "#!" in the header, it is supported. The caller should not assume any environment variables when the script is run.</div> + <div>The script is invoked by the customization engine using the command line: 1) with argument "precustomization" before customization, 2) with argument "postcustomization" after customization. The script should parse this argument and implement pre-customization or post-customization task code details in the corresponding block.</div> + <div></div> + <div>A Linux shell script example:</div> + <div></div> + <div>#!/bin/sh</div> + <div>if [ x$1 == x"precustomization" ]; then</div> + <div>echo "Do Precustomization tasks"</div> + <div>#code for pre-customization actions...</div> + <div>elif [ x$1 == x"postcustomization" ]; then</div> + <div>echo "Do Postcustomization tasks"</div> + <div>#code for post-customization actions...</div> + <div>fi</div> + <div></div> + <div></div> + <div>If unset, no script will be executed.</div> + <div>- <code>cloud_config</code> (dict): Guest customization specification with cloud configuration.</div> + <div>If unset, ConfigurationSpec.windows-config or ConfigurationSpec.linux-config must be set. Otherwise, an appropriate fault will be thrown. (['set'])</div> + <div>- Accepted keys:</div> + <div>- type (string): This option specifies different types of the cloud configuration.</div> + <div>Accepted value for this field:</div> + <div>- <code>CLOUDINIT</code></div> + <div>- cloudinit (object): cloud-init configuration</div> + <div>This field is optional and it is only relevant when the value of CloudConfiguration.type is CLOUDINIT.</div> </td> </tr> <tr> @@ -88,8 +119,10 @@ Parameters <td> <div>Global DNS settings constitute the DNS settings that are not specific to a particular virtual network adapter. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>dns_suffix_list</code> (list): List of name resolution suffixes for the virtual network adapter. This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, this setting is listed on a per-adapter basis. (['set'])</div> - <div>- <code>dns_servers</code> (list): List of DNS servers, for a virtual network adapter with a static IP address. If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS servers. These DNS server settings are listed in the order of preference. (['set'])</div> + <div>- <code>dns_suffix_list</code> (list): List of name resolution suffixes for the virtual network adapter. This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, this setting is listed on a per-adapter basis.</div> + <div>If unset, no DNS suffixes are set. (['set'])</div> + <div>- <code>dns_servers</code> (list): List of DNS servers, for a virtual network adapter with a static IP address. If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS servers. These DNS server settings are listed in the order of preference.</div> + <div>If unset, no DNS servers are set. (['set'])</div> </td> </tr> <tr> @@ -106,15 +139,19 @@ Parameters <td> </td> <td> - <div>IP settings that are specific to a particular virtual network adapter. The {@link AdapterMapping} {@term structure} maps a network adapter's MAC address to its {@link IPSettings}. May be empty if there are no network adapters, else should match number of network adapters configured for the VM. This parameter is mandatory.</div> + <div>IP settings that are specific to a particular virtual network adapter. The AdapterMapping structure maps a network adapter's MAC address to its IPSettings. May be empty if there are no network adapters, else should match number of network adapters configured for the VM. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>mac_address</code> (str): The MAC address of a network adapter being customized. (['set'])</div> + <div>- <code>mac_address</code> (str): The MAC address of a network adapter being customized.</div> + <div>If unset, the customization process maps the the settings from the list of <em>i_p_settings</em> in the CustomizationSpec.interfaces to the virtual machine's network adapters, in PCI slot order. The first virtual network adapter on the PCI bus is assigned interfaces[0].IPSettings, the second adapter is assigned interfaces[1].IPSettings, and so on. (['set'])</div> <div>- <code>adapter</code> (dict): The IP settings for the associated virtual network adapter. (['set'])</div> <div>This key is required with ['set'].</div> <div>- Accepted keys:</div> <div>- ipv4 (object): Specification to configure IPv4 address, subnet mask and gateway info for this virtual network adapter.</div> + <div>If unset, no IPv4 addresses are set.</div> <div>- ipv6 (object): Specification to configure IPv6 address, subnet mask and gateway info for this virtual network adapter.</div> + <div>If unset, no IPv6 addresses are set.</div> <div>- windows (object): Windows settings to be configured for this specific virtual Network adapter. This is valid only for Windows guest operating systems.</div> + <div>If unset, no specific Windows settings are set.</div> </td> </tr> <tr> @@ -138,6 +175,23 @@ Parameters <tr> <td colspan="1"> <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>state</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">string</span> + </div> + </td> + <td> + <ul style="margin: 0; padding: 0"><b>Choices:</b> + <li><div style="color: blue"><b>set</b> ←</div></li> + </ul> + </td> + <td> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> <b>vcenter_hostname</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> @@ -238,7 +292,8 @@ Parameters <td> </td> <td> - <div>The unique identifier of the virtual machine that needs to be customized. This parameter is mandatory.</div> + <div>The unique identifier of the virtual machine that needs to be customized.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -249,7 +304,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_filesystem_directories_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_filesystem_directories_module.rst index 0b4e50174..b5bd50377 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_filesystem_directories_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_filesystem_directories_module.rst @@ -17,7 +17,7 @@ Version added: 2.0.0 Synopsis -------- -- Creates a directory in the guest operating system. <p> +- Creates a directory in the guest operating system. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -57,7 +57,8 @@ Parameters </ul> </td> <td> - <div>Whether any parent directories should be created. If any failure occurs, some parent directories could be left behind.</div> + <div>Whether any parent directories should be created. If any failure occurs, some parent directories could be left behind.</div> + <div>If unset parent directories are not created.</div> </td> </tr> <tr> @@ -75,16 +76,19 @@ Parameters <td> <div>The guest authentication data. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>interactive_session</code> (bool): If {@term set}, theoperation will interact with the logged-in desktop session in the guest. This requires that the logged-on user matches the user specified by the {@link Credentials}. This is currently only supported for {@link Type#USERNAME_PASSWORD}. (['absent', 'create_temporary', 'move', 'present'])</div> + <div>- <code>interactive_session</code> (bool): If set, the operation will interact with the logged-in desktop session in the guest. This requires that the logged-on user matches the user specified by the Credentials. This is currently only supported for USERNAME_PASSWORD. (['absent', 'create_temporary', 'move', 'present'])</div> <div>This key is required with ['absent', 'create_temporary', 'move', 'present'].</div> <div>- <code>type</code> (str): Types of guest credentials (['absent', 'create_temporary', 'move', 'present'])</div> <div>This key is required with ['absent', 'create_temporary', 'move', 'present'].</div> <div>- Accepted values:</div> <div>- SAML_BEARER_TOKEN</div> <div>- USERNAME_PASSWORD</div> - <div>- <code>user_name</code> (str): For {@link Type#SAML_BEARER_TOKEN}, this is the guest user to be associated with the credentials. For {@link Type#USERNAME_PASSWORD} this is the guest username. (['absent', 'create_temporary', 'move', 'present'])</div> - <div>- <code>password</code> (str): password (['absent', 'create_temporary', 'move', 'present'])</div> - <div>- <code>saml_token</code> (str): SAML Bearer Token (['absent', 'create_temporary', 'move', 'present'])</div> + <div>- <code>user_name</code> (str): For SAML_BEARER_TOKEN, this is the guest user to be associated with the credentials. For USERNAME_PASSWORD this is the guest username.</div> + <div>If no user is specified for SAML_BEARER_TOKEN, a guest dependent mapping will decide what guest user account is applied. (['absent', 'create_temporary', 'move', 'present'])</div> + <div>- <code>password</code> (str): password</div> + <div>This field is optional and it is only relevant when the value of Credentials.type is USERNAME_PASSWORD. (['absent', 'create_temporary', 'move', 'present'])</div> + <div>- <code>saml_token</code> (str): SAML Bearer Token</div> + <div>This field is optional and it is only relevant when the value of Credentials.type is SAML_BEARER_TOKEN. (['absent', 'create_temporary', 'move', 'present'])</div> </td> </tr> <tr> @@ -115,6 +119,7 @@ Parameters </td> <td> <div>The complete path to the directory in which to create the new directory.</div> + <div>Directory If unset a guest-specific default will be used.</div> </td> </tr> <tr> @@ -164,6 +169,7 @@ Parameters </td> <td> <div>If true, all files and subdirectories are also deleted. If false, the directory must be empty for the operation to succeed.</div> + <div>If unset, any directory content is not deleted.</div> </td> </tr> <tr> @@ -322,7 +328,8 @@ Parameters <td> </td> <td> - <div>Virtual Machine to perform the operation on. This parameter is mandatory.</div> + <div>Virtual Machine to perform the operation on.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -333,7 +340,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_identity_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_identity_info_module.rst index 03b6b94b2..a123db8bb 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_identity_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_identity_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info_module.rst index e7a0cffa1..6fd66d8d6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_info_module.rst index 35b462c0d..0683b64e2 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine ID Required with <em>state=['get']</em></div> + <div>Virtual machine ID</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info_module.rst index c244570fa..9d54f8bcf 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine ID Required with <em>state=['list']</em></div> + <div>Virtual machine ID</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['list']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_routes_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_routes_info_module.rst index 92d358805..46aebcdb0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_routes_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_networking_routes_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine ID Required with <em>state=['list']</em></div> + <div>Virtual machine ID</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['list']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_operations_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_operations_info_module.rst index 6f3ff17be..3faabfc53 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_operations_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_operations_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_info_module.rst index d71e31a33..57c211d9e 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_module.rst index 5d8bcffaf..84f3346b3 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_guest_power_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -182,7 +182,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. This parameter is mandatory.</div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -193,7 +194,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 See Also diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info_module.rst index 73a0a7599..29762340b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual SATA adapter identifier. Required with <em>state=['get']</em></div> + <div>Virtual SATA adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_adapter_sata</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_module.rst index a12f22dfd..945a6e42b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual SATA adapter identifier. Required with <em>state=['absent']</em></div> + <div>Virtual SATA adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_adapter_sata</span>. Required with <em>state=['absent']</em></div> </td> </tr> <tr> @@ -69,6 +70,7 @@ Parameters </td> <td> <div>SATA bus number.</div> + <div>If unset, the server will choose an available bus number; if none is available, the request will fail.</div> </td> </tr> <tr> @@ -99,6 +101,7 @@ Parameters </td> <td> <div>Address of the SATA adapter on the PCI bus.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on.</div> </td> </tr> <tr> @@ -152,7 +155,7 @@ Parameters </ul> </td> <td> - <div>The <code>type</code> defines the valid emulation types for a virtual SATA adapter.</div> + <div>The <em>type</em> enumerated type defines the valid emulation types for a virtual SATA adapter.</div> </td> </tr> <tr> @@ -258,7 +261,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -269,7 +273,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info_module.rst index 75c5402a6..52ae8f07f 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual SCSI adapter identifier. Required with <em>state=['get']</em></div> + <div>Virtual SCSI adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_module.rst index 1918f8288..aae1344b9 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual SCSI adapter identifier. Required with <em>state=['absent', 'present']</em></div> + <div>Virtual SCSI adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi</span>. Required with <em>state=['absent', 'present']</em></div> </td> </tr> <tr> @@ -69,6 +70,7 @@ Parameters </td> <td> <div>SCSI bus number.</div> + <div>If unset, the server will choose an available bus number; if none is available, the request will fail.</div> </td> </tr> <tr> @@ -98,7 +100,8 @@ Parameters <td> </td> <td> - <div>Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added.</div> + <div>Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on.</div> </td> </tr> <tr> @@ -136,7 +139,7 @@ Parameters </ul> </td> <td> - <div>The <code>sharing</code> defines the valid bus sharing modes for a virtual SCSI adapter.</div> + <div>The <em>sharing</em> enumerated type defines the valid bus sharing modes for a virtual SCSI adapter.</div> </td> </tr> <tr> @@ -175,7 +178,7 @@ Parameters </ul> </td> <td> - <div>The <code>type</code> defines the valid emulation types for a virtual SCSI adapter.</div> + <div>The <em>type</em> enumerated type defines the valid emulation types for a virtual SCSI adapter.</div> </td> </tr> <tr> @@ -281,7 +284,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -292,7 +296,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_info_module.rst index 69799285c..3f2b048b5 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_info_module.rst @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Returns an ordered list of boot devices for the virtual machine. If the {@term list} is empty, the virtual machine uses a default boot sequence. +- Returns an ordered list of boot devices for the virtual machine. If the list is empty, the virtual machine uses a default boot sequence. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_module.rst index 2599d0434..6aff2733f 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_device_module.rst @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Sets the virtual devices that will be used to boot the virtual machine. The virtual machine will check the devices in order, attempting to boot from each, until the virtual machine boots successfully. If the {@term list} is empty, the virtual machine will use a default boot sequence. There should be no more than one instance of {@link Entry} for a given device type except {@link Device.Type#ETHERNET} in the {@term list}. +- Sets the virtual devices that will be used to boot the virtual machine. The virtual machine will check the devices in order, attempting to boot from each, until the virtual machine boots successfully. If the list is empty, the virtual machine will use a default boot sequence. There should be no more than one instance of Device.Entry for a given device type except ETHERNET in the list. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -57,15 +57,19 @@ Parameters <td> <div>Ordered list of boot devices. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>type</code> defines the valid device types that may be used as bootable devices. (['set'])</div> + <div>- <code>type</code> (str): This option defines the valid device types that may be used as bootable devices. (['set'])</div> <div>This key is required with ['set'].</div> <div>- Accepted values:</div> <div>- CDROM</div> <div>- DISK</div> <div>- ETHERNET</div> <div>- FLOPPY</div> - <div>- <code>nic</code> (str): Virtual Ethernet device. Ethernet device to use as boot device for this entry. (['set'])</div> - <div>- <code>disks</code> (list): Virtual disk device. List of virtual disks in boot order. (['set'])</div> + <div>- <code>nic</code> (str): Virtual Ethernet device. Ethernet device to use as boot device for this entry.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is ETHERNET.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_ethernet</span>. (['set'])</div> + <div>- <code>disks</code> (list): Virtual disk device. List of virtual disks in boot order.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is DISK.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>. (['set'])</div> </td> </tr> <tr> @@ -206,7 +210,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -217,7 +222,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_info_module.rst index 0d67914cc..0b8e28183 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_module.rst index ab4919367..3d87bf1ec 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_boot_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode.</div> + <div>Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -73,6 +74,7 @@ Parameters </td> <td> <div>Flag indicating whether to use EFI legacy boot mode.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -91,7 +93,8 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode.</div> + <div>Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -110,7 +113,7 @@ Parameters </ul> </td> <td> - <div>The <code>network_protocol</code> defines the valid network boot protocols supported when booting a virtual machine with {@link Type#EFI} firmware over the network.</div> + <div>The <em>network_protocol</em> enumerated type defines the valid network boot protocols supported when booting a virtual machine with EFI firmware over the network.</div> </td> </tr> <tr> @@ -130,6 +133,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual machine should automatically retry the boot process after a failure.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -144,7 +148,8 @@ Parameters <td> </td> <td> - <div>Delay in milliseconds before retrying the boot process after a failure; applicable only when {@link Info#retry} is true.</div> + <div>Delay in milliseconds before retrying the boot process after a failure; applicable only when <em>retry</em> is true.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -198,7 +203,7 @@ Parameters </ul> </td> <td> - <div>The <code>type</code> defines the valid firmware types for a virtual machine.</div> + <div>The <em>type</em> enumerated type defines the valid firmware types for a virtual machine.</div> </td> </tr> <tr> @@ -304,7 +309,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -315,7 +321,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_info_module.rst index bb3abbc97..ead0e0aa7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual CD-ROM device identifier. Required with <em>state=['get']</em></div> + <div>Virtual CD-ROM device identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_cdrom</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_module.rst index 38d0c82b3..f83db83d7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cdrom_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>Flag indicating whether the guest can connect and disconnect the device.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -72,17 +73,20 @@ Parameters <td> </td> <td> - <div>Physical resource backing for the virtual CD-ROM device. Required with <em>state=['present']</em></div> + <div>Physical resource backing for the virtual CD-ROM device.</div> + <div>If unset, defaults to automatic detection of a suitable host device. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual CD-ROM device. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual CD-ROM device. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- CLIENT_DEVICE</div> <div>- HOST_DEVICE</div> <div>- ISO_FILE</div> - <div>- <code>iso_file</code> (str): Path of the image file that should be used as the virtual CD-ROM device backing. (['present'])</div> - <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual CD-ROM device backing. (['present'])</div> - <div>- <code>device_access_type</code> (str): The <code>device_access_type</code> defines the valid device access types for a physical device packing of a virtual CD-ROM device. (['present'])</div> + <div>- <code>iso_file</code> (str): Path of the image file that should be used as the virtual CD-ROM device backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is ISO_FILE. (['present'])</div> + <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual CD-ROM device backing.</div> + <div>If unset, the virtual CD-ROM device will be configured to automatically detect a suitable host device. (['present'])</div> + <div>- <code>device_access_type</code> (str): This option defines the valid device access types for a physical device packing of a virtual CD-ROM device. (['present'])</div> <div>- Accepted values:</div> <div>- EMULATION</div> <div>- PASSTHRU</div> @@ -101,7 +105,8 @@ Parameters <td> </td> <td> - <div>Virtual CD-ROM device identifier. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> + <div>Virtual CD-ROM device identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_cdrom</span>. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> </td> </tr> <tr> @@ -117,9 +122,12 @@ Parameters </td> <td> <div>Address for attaching the device to a virtual IDE adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail.</div> <div>Valid attributes are:</div> - <div>- <code>primary</code> (bool): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine. (['present'])</div> - <div>- <code>master</code> (bool): Flag specifying whether the device should be the master or slave device on the IDE adapter. (['present'])</div> + <div>- <code>primary</code> (bool): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.</div> + <div>If unset, the server will choose a adapter with an available connection. If no IDE connections are available, the request will be rejected. (['present'])</div> + <div>- <code>master</code> (bool): Flag specifying whether the device should be the master or slave device on the IDE adapter.</div> + <div>If unset, the server will choose an available connection type. If no IDE connections are available, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -149,11 +157,13 @@ Parameters <td> </td> <td> - <div>Address for attaching the device to a virtual SATA adapter. Required with <em>state=['present']</em></div> + <div>Address for attaching the device to a virtual SATA adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> <div>- <code>bus</code> (int): Bus number of the adapter to which the device should be attached. (['present'])</div> <div>This key is required with ['present'].</div> - <div>- <code>unit</code> (int): Unit number of the device. (['present'])</div> + <div>- <code>unit</code> (int): Unit number of the device.</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -191,6 +201,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -229,7 +240,7 @@ Parameters </ul> </td> <td> - <div>The <code>host_bus_adapter_type</code> defines the valid types of host bus adapters that may be used for attaching a Cdrom to a virtual machine.</div> + <div>The <em>host_bus_adapter_type</em> enumerated type defines the valid types of host bus adapters that may be used for attaching a Cdrom to a virtual machine.</div> </td> </tr> <tr> @@ -335,7 +346,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -346,7 +358,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_info_module.rst index 85cf99163..39768d877 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_module.rst index e85791ff4..e6593b755 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_cpu_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket.</div> + <div>New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -68,7 +69,12 @@ Parameters <td> </td> <td> - <div>New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine. If the virtual machine is running, the number of CPU cores may only be increased if {@link Info#hotAddEnabled} is true, and may only be decreased if {@link Info#hotRemoveEnabled} is true.</div> + <div>New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket.</div> + <div>The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine.</div> + <div></div> + <div>If the virtual machine is running, the number of CPU cores may only be increased if <em>hot_add_enabled</em> is true, and may only be decreased if <em>hot_remove_enabled</em> is true.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -87,7 +93,10 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether adding CPUs while the virtual machine is running is enabled. This field may only be modified if the virtual machine is powered off.</div> + <div>Flag indicating whether adding CPUs while the virtual machine is running is enabled.</div> + <div>This field may only be modified if the virtual machine is powered off.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -106,7 +115,10 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether removing CPUs while the virtual machine is running is enabled. This field may only be modified if the virtual machine is powered off.</div> + <div>Flag indicating whether removing CPUs while the virtual machine is running is enabled.</div> + <div>This field may only be modified if the virtual machine is powered off.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -247,7 +259,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -258,7 +271,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_info_module.rst index 6a36bc3a3..748e08588 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual disk identifier. Required with <em>state=['get']</em></div> + <div>Virtual disk identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_module.rst index 4424d055c..e0c81c96c 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_disk_module.rst @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Adds a virtual disk to the virtual machine. While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk. +- Adds a virtual disk to the virtual machine. While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,13 +53,15 @@ Parameters <td> </td> <td> - <div>Existing physical resource backing for the virtual disk. Exactly one of <code>#backing</code> or <code>#new_vmdk</code> must be specified. Required with <em>state=['present']</em></div> + <div>Existing physical resource backing for the virtual disk. Exactly one of <em>backing</em> or <em>new_vmdk</em> must be specified.</div> + <div>If unset, the virtual disk will not be connected to an existing backing. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual disk. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual disk. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- VMDK_FILE</div> - <div>- <code>vmdk_file</code> (str): Path of the VMDK file backing the virtual disk. (['present'])</div> + <div>- <code>vmdk_file</code> (str): Path of the VMDK file backing the virtual disk.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is VMDK_FILE. (['present'])</div> </td> </tr> <tr> @@ -74,7 +76,8 @@ Parameters <td> </td> <td> - <div>Virtual disk identifier. Required with <em>state=['absent', 'present']</em></div> + <div>Virtual disk identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>. Required with <em>state=['absent', 'present']</em></div> </td> </tr> <tr> @@ -90,9 +93,12 @@ Parameters </td> <td> <div>Address for attaching the device to a virtual IDE adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail.</div> <div>Valid attributes are:</div> - <div>- <code>primary</code> (bool): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine. (['present'])</div> - <div>- <code>master</code> (bool): Flag specifying whether the device should be the master or slave device on the IDE adapter. (['present'])</div> + <div>- <code>primary</code> (bool): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.</div> + <div>If unset, the server will choose a adapter with an available connection. If no IDE connections are available, the request will be rejected. (['present'])</div> + <div>- <code>master</code> (bool): Flag specifying whether the device should be the master or slave device on the IDE adapter.</div> + <div>If unset, the server will choose an available connection type. If no IDE connections are available, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -122,13 +128,39 @@ Parameters <td> </td> <td> - <div>Specification for creating a new VMDK backing for the virtual disk. Exactly one of <code>#backing</code> or <code>#new_vmdk</code> must be specified.</div> + <div>Specification for creating a new VMDK backing for the virtual disk. Exactly one of <em>backing</em> or <em>new_vmdk</em> must be specified.</div> + <div>If unset, a new VMDK backing will not be created.</div> <div>Valid attributes are:</div> - <div>- <code>name</code> (str): Base name of the VMDK file. The name should not include the '.vmdk' file extension. (['present'])</div> - <div>- <code>capacity</code> (int): Capacity of the virtual disk backing in bytes. (['present'])</div> - <div>- <code>storage_policy</code> (dict): The <code>storage_policy_spec</code> {@term structure} contains information about the storage policy that is to be associated the with VMDK file. (['present'])</div> + <div>- <code>name</code> (str): Base name of the VMDK file. The name should not include the '.vmdk' file extension.</div> + <div>If unset, a name (derived from the name of the virtual machine) will be chosen by the server. (['present'])</div> + <div>- <code>capacity</code> (int): Capacity of the virtual disk backing in bytes.</div> + <div>If unset, defaults to a guest-specific capacity. (['present'])</div> + <div>- <code>storage_policy</code> (dict): The <em>storage_policy_spec</em> structure contains information about the storage policy that is to be associated the with VMDK file.</div> + <div>If unset the default storage policy of the target datastore (if applicable) is applied. Currently a default storage policy is only supported by object based datastores : VVol & vSAN. For non- object datastores, if unset then no storage policy would be associated with the VMDK file. (['present'])</div> <div>- Accepted keys:</div> <div>- policy (string): Identifier of the storage policy which should be associated with the VMDK file.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_storage_policies</span>.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>nvme</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">dictionary</span> + </div> + </td> + <td> + </td> + <td> + <div>Address for attaching the device to a virtual NVMe adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. Required with <em>state=['present']</em></div> + <div>Valid attributes are:</div> + <div>- <code>bus</code> (int): Bus number of the adapter to which the device should be attached. (['present'])</div> + <div>This key is required with ['present'].</div> + <div>- <code>unit</code> (int): Unit number of the device.</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -143,11 +175,13 @@ Parameters <td> </td> <td> - <div>Address for attaching the device to a virtual SATA adapter. Required with <em>state=['present']</em></div> + <div>Address for attaching the device to a virtual SATA adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> <div>- <code>bus</code> (int): Bus number of the adapter to which the device should be attached. (['present'])</div> <div>This key is required with ['present'].</div> - <div>- <code>unit</code> (int): Unit number of the device. (['present'])</div> + <div>- <code>unit</code> (int): Unit number of the device.</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -162,11 +196,13 @@ Parameters <td> </td> <td> - <div>Address for attaching the device to a virtual SCSI adapter. Required with <em>state=['present']</em></div> + <div>Address for attaching the device to a virtual SCSI adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> <div>- <code>bus</code> (int): Bus number of the adapter to which the device should be attached. (['present'])</div> <div>This key is required with ['present'].</div> - <div>- <code>unit</code> (int): Unit number of the device. (['present'])</div> + <div>- <code>unit</code> (int): Unit number of the device.</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected. (['present'])</div> </td> </tr> <tr> @@ -217,12 +253,13 @@ Parameters <td> <ul style="margin: 0; padding: 0"><b>Choices:</b> <li>IDE</li> + <li>NVME</li> <li>SATA</li> <li>SCSI</li> </ul> </td> <td> - <div>The <code>host_bus_adapter_type</code> defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine.</div> + <div>The <em>host_bus_adapter_type</em> enumerated type defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine.</div> </td> </tr> <tr> @@ -328,7 +365,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -339,7 +377,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_info_module.rst index 74364d8ff..a90d2c37b 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -68,7 +68,8 @@ Parameters <td> </td> <td> - <div>Virtual Ethernet adapter identifier. Required with <em>state=['get']</em></div> + <div>Virtual Ethernet adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_ethernet</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_module.rst index d2bebc4f4..dc7bb1bfc 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_ethernet_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>Flag indicating whether the guest can connect and disconnect the device.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -72,17 +73,21 @@ Parameters <td> </td> <td> - <div>Physical resource backing for the virtual Ethernet adapter. Required with <em>state=['present']</em></div> + <div>Physical resource backing for the virtual Ethernet adapter.</div> + <div>If unset, the system may try to find an appropriate backing. If one is not found, the request will fail. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual Ethernet adapter. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual Ethernet adapter. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- DISTRIBUTED_PORTGROUP</div> <div>- HOST_DEVICE</div> <div>- OPAQUE_NETWORK</div> <div>- STANDARD_PORTGROUP</div> - <div>- <code>network</code> (str): Identifier of the network that backs the virtual Ethernet adapter. (['present'])</div> - <div>- <code>distributed_port</code> (str): Key of the distributed virtual port that backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered on and the Ethernet adapter is connected. This field cannot be specified as no free ports exist before use. (['present'])</div> + <div>- <code>network</code> (str): Identifier of the network that backs the virtual Ethernet adapter.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, or OPAQUE_NETWORK.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_network_info</span>. (['present'])</div> + <div>- <code>distributed_port</code> (str): Key of the distributed virtual port that backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered on and the Ethernet adapter is connected. This field cannot be specified as no free ports exist before use.</div> + <div>May be used to specify a port when the network specified on the <em>network</em> field is a static or early binding distributed portgroup. If unset, the port will be automatically assigned to the Ethernet adapter based on the policy embodied by the portgroup type. (['present'])</div> </td> </tr> <tr> @@ -112,7 +117,10 @@ Parameters <td> </td> <td> - <div>MAC address. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div>MAC address.</div> + <div>This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div></div> + <div>If unset, the value is unchanged. Must be specified if <em>mac_type</em> is MANUAL. Must be unset if the MAC address type is not MANUAL.</div> </td> </tr> <tr> @@ -132,7 +140,7 @@ Parameters </ul> </td> <td> - <div>The <code>mac_address_type</code> defines the valid MAC address origins for a virtual Ethernet adapter.</div> + <div>The <em>mac_address_type</em> enumerated type defines the valid MAC address origins for a virtual Ethernet adapter.</div> </td> </tr> <tr> @@ -147,7 +155,8 @@ Parameters <td> </td> <td> - <div>Virtual Ethernet adapter identifier. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> + <div>Virtual Ethernet adapter identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_ethernet</span>. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> </td> </tr> <tr> @@ -162,7 +171,8 @@ Parameters <td> </td> <td> - <div>Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change when it the VM is started or as the device is hot added.</div> + <div>Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change when it the VM is started or as the device is hot added.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on.</div> </td> </tr> <tr> @@ -200,6 +210,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -242,7 +253,7 @@ Parameters </ul> </td> <td> - <div>The <code>emulation_type</code> defines the valid emulation types for a virtual Ethernet adapter.</div> + <div>The <em>emulation_type</em> enumerated type defines the valid emulation types for a virtual Ethernet adapter.</div> </td> </tr> <tr> @@ -261,7 +272,10 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether Universal Pass-Through (UPT) compatibility should be enabled on this virtual Ethernet adapter. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div>Flag indicating whether Universal Pass-Through (UPT) compatibility should be enabled on this virtual Ethernet adapter.</div> + <div>This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div></div> + <div>If unset, the value is unchanged. Must be unset if the emulation type of the virtual Ethernet adapter is not VMXNET3.</div> </td> </tr> <tr> @@ -367,7 +381,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -386,7 +401,10 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet adapter. This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div>Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet adapter.</div> + <div>This field may be modified at any time, and changes will be applied the next time the virtual machine is powered on.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> </table> @@ -397,7 +415,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_info_module.rst index 5cc686804..acd1d7efc 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -53,7 +53,8 @@ Parameters <td> </td> <td> - <div>Virtual floppy drive identifier. Required with <em>state=['get']</em></div> + <div>Virtual floppy drive identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_floppy</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_module.rst index 641245488..1a04cbd9f 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_floppy_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>Flag indicating whether the guest can connect and disconnect the device.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -72,16 +73,19 @@ Parameters <td> </td> <td> - <div>Physical resource backing for the virtual floppy drive. Required with <em>state=['present']</em></div> + <div>Physical resource backing for the virtual floppy drive.</div> + <div>If unset, defaults to automatic detection of a suitable host device. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual floppy drive. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual floppy drive. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- CLIENT_DEVICE</div> <div>- HOST_DEVICE</div> <div>- IMAGE_FILE</div> - <div>- <code>image_file</code> (str): Path of the image file that should be used as the virtual floppy drive backing. (['present'])</div> - <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual floppy drive backing. (['present'])</div> + <div>- <code>image_file</code> (str): Path of the image file that should be used as the virtual floppy drive backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is IMAGE_FILE. (['present'])</div> + <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual floppy drive backing.</div> + <div>If unset, the virtual floppy drive will be configured to automatically detect a suitable host device. (['present'])</div> </td> </tr> <tr> @@ -96,7 +100,8 @@ Parameters <td> </td> <td> - <div>Virtual floppy drive identifier. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> + <div>Virtual floppy drive identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_floppy</span>. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> </td> </tr> <tr> @@ -149,6 +154,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -274,7 +280,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -285,7 +292,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_info_module.rst index cd5fa6f5d..a99fc6956 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_info_module.rst index dbf7fc9a2..15fafb532 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_module.rst index 1c18a0274..c42d8e5d2 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_memory_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -57,7 +57,12 @@ Parameters </ul> </td> <td> - <div>Flag indicating whether adding memory while the virtual machine is running should be enabled. Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running. This field may only be modified if the virtual machine is not powered on.</div> + <div>Flag indicating whether adding memory while the virtual machine is running should be enabled.</div> + <div>Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running.</div> + <div></div> + <div>This field may only be modified if the virtual machine is not powered on.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -90,7 +95,12 @@ Parameters <td> </td> <td> - <div>New memory size in mebibytes. The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine. If the virtual machine is running, this value may only be changed if {@link Info#hotAddEnabled} is true, and the new memory size must satisfy the constraints specified by {@link Info#hotAddIncrementSizeMiB} and {@link Info#hotAddLimitMiB}.</div> + <div>New memory size in mebibytes.</div> + <div>The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine.</div> + <div></div> + <div>If the virtual machine is running, this value may only be changed if <em>hot_add_enabled</em> is true, and the new memory size must satisfy the constraints specified by <em>hot_add_increment_size_mib</em> and I()</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -213,7 +223,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -224,7 +235,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_module.rst index 7e057380b..142648ab0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -94,7 +94,7 @@ Parameters </ul> </td> <td> - <div>The <code>upgrade_policy</code> defines the valid virtual hardware upgrade policies for a virtual machine.</div> + <div>The <em>upgrade_policy</em> enumerated type defines the valid virtual hardware upgrade policies for a virtual machine.</div> </td> </tr> <tr> @@ -127,7 +127,7 @@ Parameters </ul> </td> <td> - <div>The <code>version</code> defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> + <div>The <em>version</em> enumerated type defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> </td> </tr> <tr> @@ -250,7 +250,7 @@ Parameters </ul> </td> <td> - <div>The <code>version</code> defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> + <div>The <em>version</em> enumerated type defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> </td> </tr> <tr> @@ -266,7 +266,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -277,7 +278,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_info_module.rst index d6526686a..216e1717e 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -68,7 +68,8 @@ Parameters <td> </td> <td> - <div>Virtual parallel port identifier. Required with <em>state=['get']</em></div> + <div>Virtual parallel port identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_parallel</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_module.rst index a5f5e06bd..cc8acbfec 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_parallel_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>Flag indicating whether the guest can connect and disconnect the device.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -72,15 +73,18 @@ Parameters <td> </td> <td> - <div>Physical resource backing for the virtual parallel port. Required with <em>state=['present']</em></div> + <div>Physical resource backing for the virtual parallel port.</div> + <div>If unset, defaults to automatic detection of a suitable host device. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual parallel port. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual parallel port. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- FILE</div> <div>- HOST_DEVICE</div> - <div>- <code>file</code> (str): Path of the file that should be used as the virtual parallel port backing. (['present'])</div> - <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual parallel port backing. (['present'])</div> + <div>- <code>file</code> (str): Path of the file that should be used as the virtual parallel port backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is FILE. (['present'])</div> + <div>- <code>host_device</code> (str): Name of the device that should be used as the virtual parallel port backing.</div> + <div>If unset, the virtual parallel port will be configured to automatically detect a suitable host device. (['present'])</div> </td> </tr> <tr> @@ -110,7 +114,8 @@ Parameters <td> </td> <td> - <div>Virtual parallel port identifier. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> + <div>Virtual parallel port identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_parallel</span>. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> </td> </tr> <tr> @@ -148,6 +153,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -273,7 +279,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -284,7 +291,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_info_module.rst index acee8d334..2749aecf1 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -68,7 +68,8 @@ Parameters <td> </td> <td> - <div>Virtual serial port identifier. Required with <em>state=['get']</em></div> + <div>Virtual serial port identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_serial</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -192,7 +193,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -203,7 +205,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_module.rst index 13f4c1e94..e04e688ae 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_hardware_serial_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -58,6 +58,7 @@ Parameters </td> <td> <div>Flag indicating whether the guest can connect and disconnect the device.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -72,9 +73,10 @@ Parameters <td> </td> <td> - <div>Physical resource backing for the virtual serial port. Required with <em>state=['present']</em></div> + <div>Physical resource backing for the virtual serial port.</div> + <div>If unset, defaults to automatic detection of a suitable host device. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>backing_type</code> defines the valid backing types for a virtual serial port. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid backing types for a virtual serial port. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- FILE</div> @@ -83,12 +85,23 @@ Parameters <div>- NETWORK_SERVER</div> <div>- PIPE_CLIENT</div> <div>- PIPE_SERVER</div> - <div>- <code>file</code> (str): Path of the file backing the virtual serial port. (['present'])</div> - <div>- <code>host_device</code> (str): Name of the device backing the virtual serial port. (['present'])</div> - <div>- <code>pipe</code> (str): Name of the pipe backing the virtual serial port. (['present'])</div> - <div>- <code>no_rx_loss</code> (bool): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent data overrun. This allows the virtual machine to read all of the data transferred over the pipe with no data loss. (['present'])</div> - <div>- <code>network_location</code> (str): URI specifying the location of the network service backing the virtual serial port. <ul> <li>If {@link #type} is {@link BackingType#NETWORK_SERVER}, this field is the location used by clients to connect to this server. The hostname part of the URI should either be empty or should specify the address of the host on which the virtual machine is running.</li> <li>If {@link #type} is {@link BackingType#NETWORK_CLIENT}, this field is the location used by the virtual machine to connect to the remote server.</li> </ul> (['present'])</div> - <div>- <code>proxy</code> (str): Proxy service that provides network access to the network backing. If set, the virtual machine initiates a connection with the proxy service and forwards the traffic to the proxy. (['present'])</div> + <div>- <code>file</code> (str): Path of the file backing the virtual serial port.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is FILE. (['present'])</div> + <div>- <code>host_device</code> (str): Name of the device backing the virtual serial port.</div> + <div></div> + <div></div> + <div>If unset, the virtual serial port will be configured to automatically detect a suitable host device. (['present'])</div> + <div>- <code>pipe</code> (str): Name of the pipe backing the virtual serial port.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of PIPE_SERVER or PIPE_CLIENT. (['present'])</div> + <div>- <code>no_rx_loss</code> (bool): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent data overrun. This allows the virtual machine to read all of the data transferred over the pipe with no data loss.</div> + <div>If unset, defaults to false. (['present'])</div> + <div>- <code>network_location</code> (str): URI specifying the location of the network service backing the virtual serial port.</div> + <div>- If <em>type</em> is NETWORK_SERVER, this field is the location used by clients to connect to this server. The hostname part of the URI should either be empty or should specify the address of the host on which the virtual machine is running.</div> + <div>- If <em>type</em> is NETWORK_CLIENT, this field is the location used by the virtual machine to connect to the remote server.</div> + <div></div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of NETWORK_SERVER or NETWORK_CLIENT. (['present'])</div> + <div>- <code>proxy</code> (str): Proxy service that provides network access to the network backing. If set, the virtual machine initiates a connection with the proxy service and forwards the traffic to the proxy.</div> + <div>If unset, no proxy service should be used. (['present'])</div> </td> </tr> <tr> @@ -118,7 +131,8 @@ Parameters <td> </td> <td> - <div>Virtual serial port identifier. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> + <div>Virtual serial port identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_serial</span>. Required with <em>state=['absent', 'connect', 'disconnect', 'present']</em></div> </td> </tr> <tr> @@ -156,6 +170,7 @@ Parameters </td> <td> <div>Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>If unset, the value is unchanged.</div> </td> </tr> <tr> @@ -281,7 +296,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -300,7 +316,10 @@ Parameters </ul> </td> <td> - <div>CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host. This field may be modified at any time, and changes applied to a connected virtual serial port take effect immediately.</div> + <div>CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host.</div> + <div>This field may be modified at any time, and changes applied to a connected virtual serial port take effect immediately.</div> + <div></div> + <div>If unset, the value is unchanged.</div> </td> </tr> </table> @@ -311,7 +330,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_info_module.rst index 14cc074cc..512177c81 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Clusters that must contain the virtual machine for the virtual machine to match the filter.</div> + <div>If unset or empty, virtual machines in any cluster match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>.</div> </td> </tr> <tr> @@ -71,6 +73,8 @@ Parameters </td> <td> <div>Datacenters that must contain the virtual machine for the virtual machine to match the filter.</div> + <div>If unset or empty, virtual machines in any datacenter match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_datacenter_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_datacenters</div> </td> </tr> @@ -88,6 +92,8 @@ Parameters </td> <td> <div>Folders that must contain the virtual machine for the virtual machine to match the filter.</div> + <div>If unset or empty, virtual machines in any folder match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_folders</div> </td> </tr> @@ -105,6 +111,8 @@ Parameters </td> <td> <div>Hosts that must contain the virtual machine for the virtual machine to match the filter.</div> + <div>If unset or empty, virtual machines on any host match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_host_info</span>.</div> </td> </tr> <tr> @@ -120,7 +128,8 @@ Parameters <td> </td> <td> - <div>Names that virtual machines must have to match the filter (see {@link Info#name}).</div> + <div>Names that virtual machines must have to match the filter (see <em>name</em>).</div> + <div>If unset or empty, virtual machines with any name match the filter.</div> <div style="font-size: small; color: darkgreen"><br/>aliases: filter_names</div> </td> </tr> @@ -137,7 +146,8 @@ Parameters <td> </td> <td> - <div>Power states that a virtual machine must be in to match the filter (see {@link <em>info</em>#state}.</div> + <div>Power states that a virtual machine must be in to match the filter (see I()</div> + <div>If unset or empty, virtual machines in any power state match the filter.</div> </td> </tr> <tr> @@ -154,6 +164,8 @@ Parameters </td> <td> <div>Resource pools that must contain the virtual machine for the virtual machine to match the filter.</div> + <div>If unset or empty, virtual machines in any resource pool match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>.</div> </td> </tr> <tr> @@ -276,7 +288,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> <tr> @@ -293,6 +306,8 @@ Parameters </td> <td> <div>Identifiers of virtual machines that can match the filter.</div> + <div>If unset or empty, virtual machines with any identifier match the filter.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>.</div> </td> </tr> </table> @@ -303,7 +318,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_libraryitem_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_libraryitem_info_module.rst index e244a4423..bcb66ccdc 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_libraryitem_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_libraryitem_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_module.rst index dccbf0408..3911f62d6 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,7 @@ Parameters </td> <td> <div>128-bit SMBIOS UUID of a virtual machine represented as a hexadecimal string in "12345678-abcd-1234-cdef-123456789abc" format.</div> + <div>If unset, will be generated.</div> </td> </tr> <tr> @@ -69,20 +70,26 @@ Parameters </td> <td> <div>Boot configuration.</div> + <div>If unset, guest-specific default values will be used.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>type</code> defines the valid firmware types for a virtual machine. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid firmware types for a virtual machine. (['present'])</div> <div>- Accepted values:</div> <div>- BIOS</div> <div>- EFI</div> - <div>- <code>efi_legacy_boot</code> (bool): Flag indicating whether to use EFI legacy boot mode. (['present'])</div> - <div>- <code>network_protocol</code> (str): The <code>network_protocol</code> defines the valid network boot protocols supported when booting a virtual machine with {@link Type#EFI} firmware over the network. (['present'])</div> + <div>- <code>efi_legacy_boot</code> (bool): Flag indicating whether to use EFI legacy boot mode.</div> + <div>If unset, defaults to value that is recommended for the guest OS and is supported for the virtual hardware version. (['present'])</div> + <div>- <code>network_protocol</code> (str): This option defines the valid network boot protocols supported when booting a virtual machine with EFI firmware over the network. (['present'])</div> <div>- Accepted values:</div> <div>- IPV4</div> <div>- IPV6</div> - <div>- <code>delay</code> (int): Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode. (['present'])</div> - <div>- <code>retry</code> (bool): Flag indicating whether the virtual machine should automatically retry the boot process after a failure. (['present'])</div> - <div>- <code>retry_delay</code> (int): Delay in milliseconds before retrying the boot process after a failure; applicable only when {@link Info#retry} is true. (['present'])</div> - <div>- <code>enter_setup_mode</code> (bool): Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode. (['present'])</div> + <div>- <code>delay</code> (int): Delay in milliseconds before beginning the firmware boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode.</div> + <div>If unset, default value is 0. (['present'])</div> + <div>- <code>retry</code> (bool): Flag indicating whether the virtual machine should automatically retry the boot process after a failure.</div> + <div>If unset, default value is false. (['present'])</div> + <div>- <code>retry_delay</code> (int): Delay in milliseconds before retrying the boot process after a failure; applicable only when <em>retry</em> is true.</div> + <div>If unset, default value is 10000. (['present'])</div> + <div>- <code>enter_setup_mode</code> (bool): Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode.</div> + <div>If unset, the value is unchanged. (['present'])</div> </td> </tr> <tr> @@ -99,8 +106,9 @@ Parameters </td> <td> <div>Boot device configuration.</div> + <div>If unset, a server-specific boot sequence will be used.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>type</code> defines the valid device types that may be used as bootable devices. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid device types that may be used as bootable devices. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- CDROM</div> @@ -123,35 +131,46 @@ Parameters </td> <td> <div>List of CD-ROMs.</div> + <div>If unset, no CD-ROM devices will be created.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>host_bus_adapter_type</code> defines the valid types of host bus adapters that may be used for attaching a Cdrom to a virtual machine. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid types of host bus adapters that may be used for attaching a Cdrom to a virtual machine. (['present'])</div> <div>- Accepted values:</div> <div>- IDE</div> <div>- SATA</div> - <div>- <code>ide</code> (dict): Address for attaching the device to a virtual IDE adapter. (['present'])</div> + <div>- <code>ide</code> (dict): Address for attaching the device to a virtual IDE adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> <div>- primary (boolean): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.</div> + <div>If unset, the server will choose a adapter with an available connection. If no IDE connections are available, the request will be rejected.</div> <div>- master (boolean): Flag specifying whether the device should be the master or slave device on the IDE adapter.</div> - <div>- <code>sata</code> (dict): Address for attaching the device to a virtual SATA adapter. (['present'])</div> + <div>If unset, the server will choose an available connection type. If no IDE connections are available, the request will be rejected.</div> + <div>- <code>sata</code> (dict): Address for attaching the device to a virtual SATA adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> <div>- bus (integer): Bus number of the adapter to which the device should be attached.</div> <div>- unit (integer): Unit number of the device.</div> - <div>- <code>backing</code> (dict): Physical resource backing for the virtual CD-ROM device. (['present'])</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected.</div> + <div>- <code>backing</code> (dict): Physical resource backing for the virtual CD-ROM device.</div> + <div>If unset, defaults to automatic detection of a suitable host device. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual CD-ROM device.</div> + <div>- type (string): This option defines the valid backing types for a virtual CD-ROM device.</div> <div>Accepted value for this field:</div> <div>- <code>CLIENT_DEVICE</code></div> <div>- <code>HOST_DEVICE</code></div> <div>- <code>ISO_FILE</code></div> <div>- iso_file (string): Path of the image file that should be used as the virtual CD-ROM device backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is ISO_FILE.</div> <div>- host_device (string): Name of the device that should be used as the virtual CD-ROM device backing.</div> - <div>- device_access_type (string): The <code>device_access_type</code> defines the valid device access types for a physical device packing of a virtual CD-ROM device.</div> + <div>If unset, the virtual CD-ROM device will be configured to automatically detect a suitable host device.</div> + <div>- device_access_type (string): This option defines the valid device access types for a physical device packing of a virtual CD-ROM device.</div> <div>Accepted value for this field:</div> <div>- <code>EMULATION</code></div> <div>- <code>PASSTHRU</code></div> <div>- <code>PASSTHRU_EXCLUSIVE</code></div> - <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. (['present'])</div> - <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device. (['present'])</div> + <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device.</div> + <div>Defaults to false if unset. (['present'])</div> </td> </tr> <tr> @@ -167,11 +186,24 @@ Parameters </td> <td> <div>CPU configuration.</div> + <div>If unset, guest-specific default values will be used.</div> <div>Valid attributes are:</div> - <div>- <code>count</code> (int): New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine. If the virtual machine is running, the number of CPU cores may only be increased if {@link Info#hotAddEnabled} is true, and may only be decreased if {@link Info#hotRemoveEnabled} is true. (['present'])</div> - <div>- <code>cores_per_socket</code> (int): New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. (['present'])</div> - <div>- <code>hot_add_enabled</code> (bool): Flag indicating whether adding CPUs while the virtual machine is running is enabled. This field may only be modified if the virtual machine is powered off. (['present'])</div> - <div>- <code>hot_remove_enabled</code> (bool): Flag indicating whether removing CPUs while the virtual machine is running is enabled. This field may only be modified if the virtual machine is powered off. (['present'])</div> + <div>- <code>count</code> (int): New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket.</div> + <div>The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine.</div> + <div></div> + <div>If the virtual machine is running, the number of CPU cores may only be increased if <em>hot_add_enabled</em> is true, and may only be decreased if <em>hot_remove_enabled</em> is true.</div> + <div></div> + <div>If unset, the value is unchanged. (['present'])</div> + <div>- <code>cores_per_socket</code> (int): New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket.</div> + <div>If unset, the value is unchanged. (['present'])</div> + <div>- <code>hot_add_enabled</code> (bool): Flag indicating whether adding CPUs while the virtual machine is running is enabled.</div> + <div>This field may only be modified if the virtual machine is powered off.</div> + <div></div> + <div>If unset, the value is unchanged. (['present'])</div> + <div>- <code>hot_remove_enabled</code> (bool): Flag indicating whether removing CPUs while the virtual machine is running is enabled.</div> + <div>This field may only be modified if the virtual machine is powered off.</div> + <div></div> + <div>If unset, the value is unchanged. (['present'])</div> </td> </tr> <tr> @@ -187,6 +219,8 @@ Parameters </td> <td> <div>Identifier of the datastore on which the virtual machine's configuration state is stored.</div> + <div>If unset, <em>path</em> must also be unset and <em>datastore_path</em> must be set.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_datastore_info</span>.</div> </td> </tr> <tr> @@ -201,7 +235,8 @@ Parameters <td> </td> <td> - <div>Datastore path for the virtual machine's configuration file in the format "[datastore name] path". For example "[storage1] Test-VM/Test-VM.vmx".</div> + <div>Datastore path for the virtual machine's configuration file in the format "[datastore name] path". For example "[storage1] Test-VM/Test-VM.vmx".</div> + <div>If unset, both <em>datastore</em> and <em>path</em> must be set.</div> </td> </tr> <tr> @@ -221,6 +256,7 @@ Parameters </td> <td> <div>Indicates whether all NICs on the destination virtual machine should be disconnected from the newtwork</div> + <div>If unset, connection status of all NICs on the destination virtual machine will be the same as on the source virtual machine.</div> </td> </tr> <tr> @@ -237,35 +273,57 @@ Parameters </td> <td> <div>Individual disk relocation map.</div> + <div>If unset, all disks will migrate to the datastore specified in the <em>datastore</em> field of I()</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>host_bus_adapter_type</code> defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine. (['present'])</div> <div>- Accepted values:</div> <div>- IDE</div> + <div>- NVME</div> <div>- SATA</div> <div>- SCSI</div> - <div>- <code>ide</code> (dict): Address for attaching the device to a virtual IDE adapter. (['present'])</div> + <div>- <code>ide</code> (dict): Address for attaching the device to a virtual IDE adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> <div>- primary (boolean): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.</div> + <div>If unset, the server will choose a adapter with an available connection. If no IDE connections are available, the request will be rejected.</div> <div>- master (boolean): Flag specifying whether the device should be the master or slave device on the IDE adapter.</div> - <div>- <code>scsi</code> (dict): Address for attaching the device to a virtual SCSI adapter. (['present'])</div> + <div>If unset, the server will choose an available connection type. If no IDE connections are available, the request will be rejected.</div> + <div>- <code>scsi</code> (dict): Address for attaching the device to a virtual SCSI adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> <div>- bus (integer): Bus number of the adapter to which the device should be attached.</div> <div>- unit (integer): Unit number of the device.</div> - <div>- <code>sata</code> (dict): Address for attaching the device to a virtual SATA adapter. (['present'])</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected.</div> + <div>- <code>sata</code> (dict): Address for attaching the device to a virtual SATA adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> <div>- bus (integer): Bus number of the adapter to which the device should be attached.</div> <div>- unit (integer): Unit number of the device.</div> - <div>- <code>backing</code> (dict): Existing physical resource backing for the virtual disk. Exactly one of <code>#backing</code> or <code>#new_vmdk</code> must be specified. (['present'])</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected.</div> + <div>- <code>nvme</code> (dict): Address for attaching the device to a virtual NVMe adapter.</div> + <div>If unset, the server will choose an available address; if none is available, the request will fail. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual disk.</div> + <div>- bus (integer): Bus number of the adapter to which the device should be attached.</div> + <div>- unit (integer): Unit number of the device.</div> + <div>If unset, the server will choose an available unit number on the specified adapter. If there are no available connections on the adapter, the request will be rejected.</div> + <div>- <code>backing</code> (dict): Existing physical resource backing for the virtual disk. Exactly one of <em>backing</em> or <em>new_vmdk</em> must be specified.</div> + <div>If unset, the virtual disk will not be connected to an existing backing. (['present'])</div> + <div>- Accepted keys:</div> + <div>- type (string): This option defines the valid backing types for a virtual disk.</div> <div>Accepted value for this field:</div> <div>- <code>VMDK_FILE</code></div> <div>- vmdk_file (string): Path of the VMDK file backing the virtual disk.</div> - <div>- <code>new_vmdk</code> (dict): Specification for creating a new VMDK backing for the virtual disk. Exactly one of <code>#backing</code> or <code>#new_vmdk</code> must be specified. (['present'])</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is VMDK_FILE.</div> + <div>- <code>new_vmdk</code> (dict): Specification for creating a new VMDK backing for the virtual disk. Exactly one of <em>backing</em> or <em>new_vmdk</em> must be specified.</div> + <div>If unset, a new VMDK backing will not be created. (['present'])</div> <div>- Accepted keys:</div> - <div>- name (string): Base name of the VMDK file. The name should not include the '.vmdk' file extension.</div> + <div>- name (string): Base name of the VMDK file. The name should not include the '.vmdk' file extension.</div> + <div>If unset, a name (derived from the name of the virtual machine) will be chosen by the server.</div> <div>- capacity (integer): Capacity of the virtual disk backing in bytes.</div> - <div>- storage_policy (object): The <code>storage_policy_spec</code> {@term structure} contains information about the storage policy that is to be associated the with VMDK file.</div> + <div>If unset, defaults to a guest-specific capacity.</div> + <div>- storage_policy (object): The <em>storage_policy_spec</em> structure contains information about the storage policy that is to be associated the with VMDK file.</div> + <div>If unset the default storage policy of the target datastore (if applicable) is applied. Currently a default storage policy is only supported by object based datastores : VVol & vSAN. For non- object datastores, if unset then no storage policy would be associated with the VMDK file.</div> </td> </tr> <tr> @@ -282,6 +340,8 @@ Parameters </td> <td> <div>Set of Disks to Remove.</div> + <div>If unset, all disks will be copied. If the same identifier is in <em>disks_to_update</em> InvalidArgument fault will be returned.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>.</div> </td> </tr> <tr> @@ -297,6 +357,8 @@ Parameters </td> <td> <div>Map of Disks to Update.</div> + <div>If unset, all disks will copied to the datastore specified in the <em>datastore</em> field of I() If the same identifier is in <em>disks_to_remove</em> InvalidArgument fault will be thrown.</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>.</div> </td> </tr> <tr> @@ -313,18 +375,24 @@ Parameters </td> <td> <div>List of floppy drives.</div> + <div>If unset, no floppy drives will be created.</div> <div>Valid attributes are:</div> - <div>- <code>backing</code> (dict): Physical resource backing for the virtual floppy drive. (['present'])</div> + <div>- <code>backing</code> (dict): Physical resource backing for the virtual floppy drive.</div> + <div>If unset, defaults to automatic detection of a suitable host device. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual floppy drive.</div> + <div>- type (string): This option defines the valid backing types for a virtual floppy drive.</div> <div>Accepted value for this field:</div> <div>- <code>CLIENT_DEVICE</code></div> <div>- <code>HOST_DEVICE</code></div> <div>- <code>IMAGE_FILE</code></div> <div>- image_file (string): Path of the image file that should be used as the virtual floppy drive backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is IMAGE_FILE.</div> <div>- host_device (string): Name of the device that should be used as the virtual floppy drive backing.</div> - <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. (['present'])</div> - <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device. (['present'])</div> + <div>If unset, the virtual floppy drive will be configured to automatically detect a suitable host device.</div> + <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device.</div> + <div>Defaults to false if unset. (['present'])</div> </td> </tr> <tr> @@ -340,8 +408,10 @@ Parameters </td> <td> <div>Guest customization spec to apply to the virtual machine after the virtual machine is deployed.</div> + <div>If unset, the guest operating system is not customized after clone.</div> <div>Valid attributes are:</div> - <div>- <code>name</code> (str): Name of the customization specification. (['clone'])</div> + <div>- <code>name</code> (str): Name of the customization specification.</div> + <div>If unset, no guest customization is performed. (['clone'])</div> </td> </tr> <tr> @@ -539,7 +609,7 @@ Parameters </ul> </td> <td> - <div>The <code>guest_o_s</code> defines the valid guest operating system types used for configuring a virtual machine. Required with <em>state=['present']</em></div> + <div>The GuestOS enumerated type defines the valid guest operating system types used for configuring a virtual machine. Required with <em>state=['present']</em></div> </td> </tr> <tr> @@ -572,7 +642,7 @@ Parameters </ul> </td> <td> - <div>The <code>version</code> defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> + <div>The <em>version</em> enumerated type defines the valid virtual hardware versions for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine hardware versions (1003746)).</div> </td> </tr> <tr> @@ -588,9 +658,20 @@ Parameters </td> <td> <div>Memory configuration.</div> + <div>If unset, guest-specific default values will be used.</div> <div>Valid attributes are:</div> - <div>- <code>size_MiB</code> (int): New memory size in mebibytes. The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine. If the virtual machine is running, this value may only be changed if {@link Info#hotAddEnabled} is true, and the new memory size must satisfy the constraints specified by {@link Info#hotAddIncrementSizeMiB} and {@link Info#hotAddLimitMiB}. (['present'])</div> - <div>- <code>hot_add_enabled</code> (bool): Flag indicating whether adding memory while the virtual machine is running should be enabled. Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running. This field may only be modified if the virtual machine is not powered on. (['present'])</div> + <div>- <code>size_MiB</code> (int): New memory size in mebibytes.</div> + <div>The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine.</div> + <div></div> + <div>If the virtual machine is running, this value may only be changed if <em>hot_add_enabled</em> is true, and the new memory size must satisfy the constraints specified by <em>hot_add_increment_size_mib</em> and I()</div> + <div></div> + <div>If unset, the value is unchanged. (['present'])</div> + <div>- <code>hot_add_enabled</code> (bool): Flag indicating whether adding memory while the virtual machine is running should be enabled.</div> + <div>Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running.</div> + <div></div> + <div>This field may only be modified if the virtual machine is not powered on.</div> + <div></div> + <div>If unset, the value is unchanged. (['present'])</div> </td> </tr> <tr> @@ -605,7 +686,8 @@ Parameters <td> </td> <td> - <div>Name of the new virtual machine.</div> + <div>Virtual machine name.</div> + <div>If unset, the display name from the virtual machine's configuration file will be used.</div> </td> </tr> <tr> @@ -622,8 +704,9 @@ Parameters </td> <td> <div>List of Ethernet adapters.</div> + <div>If unset, no Ethernet adapters will be created.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>emulation_type</code> defines the valid emulation types for a virtual Ethernet adapter. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid emulation types for a virtual Ethernet adapter. (['present'])</div> <div>- Accepted values:</div> <div>- E1000</div> <div>- E1000E</div> @@ -631,27 +714,37 @@ Parameters <div>- VMXNET</div> <div>- VMXNET2</div> <div>- VMXNET3</div> - <div>- <code>upt_compatibility_enabled</code> (bool): Flag indicating whether Universal Pass-Through (UPT) compatibility is enabled on this virtual Ethernet adapter. (['present'])</div> - <div>- <code>mac_type</code> (str): The <code>mac_address_type</code> defines the valid MAC address origins for a virtual Ethernet adapter. (['present'])</div> + <div>- <code>upt_compatibility_enabled</code> (bool): Flag indicating whether Universal Pass-Through (UPT) compatibility is enabled on this virtual Ethernet adapter.</div> + <div>If unset, defaults to false. (['present'])</div> + <div>- <code>mac_type</code> (str): This option defines the valid MAC address origins for a virtual Ethernet adapter. (['present'])</div> <div>- Accepted values:</div> <div>- ASSIGNED</div> <div>- GENERATED</div> <div>- MANUAL</div> - <div>- <code>mac_address</code> (str): MAC address. (['present'])</div> - <div>- <code>pci_slot_number</code> (int): Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change when it the VM is started or as the device is hot added. (['present'])</div> - <div>- <code>wake_on_lan_enabled</code> (bool): Flag indicating whether wake-on-LAN is enabled on this virtual Ethernet adapter. (['present'])</div> - <div>- <code>backing</code> (dict): Physical resource backing for the virtual Ethernet adapter. (['present'])</div> + <div>- <code>mac_address</code> (str): MAC address.</div> + <div>Workaround for PR1459647 (['present'])</div> + <div>- <code>pci_slot_number</code> (int): Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change when it the VM is started or as the device is hot added.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on. (['present'])</div> + <div>- <code>wake_on_lan_enabled</code> (bool): Flag indicating whether wake-on-LAN is enabled on this virtual Ethernet adapter.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>backing</code> (dict): Physical resource backing for the virtual Ethernet adapter.</div> + <div>If unset, the system may try to find an appropriate backing. If one is not found, the request will fail. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual Ethernet adapter.</div> + <div>- type (string): This option defines the valid backing types for a virtual Ethernet adapter.</div> <div>Accepted value for this field:</div> <div>- <code>DISTRIBUTED_PORTGROUP</code></div> <div>- <code>HOST_DEVICE</code></div> <div>- <code>OPAQUE_NETWORK</code></div> <div>- <code>STANDARD_PORTGROUP</code></div> <div>- network (string): Identifier of the network that backs the virtual Ethernet adapter.</div> - <div>- distributed_port (string): Key of the distributed virtual port that backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered on and the Ethernet adapter is connected. This field cannot be specified as no free ports exist before use.</div> - <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. (['present'])</div> - <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device. (['present'])</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, or OPAQUE_NETWORK.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_network_info</span>.</div> + <div>- distributed_port (string): Key of the distributed virtual port that backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered on and the Ethernet adapter is connected. This field cannot be specified as no free ports exist before use.</div> + <div>May be used to specify a port when the network specified on the <em>network</em> field is a static or early binding distributed portgroup. If unset, the port will be automatically assigned to the Ethernet adapter based on the policy embodied by the portgroup type.</div> + <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device.</div> + <div>Defaults to false if unset. (['present'])</div> </td> </tr> <tr> @@ -667,6 +760,30 @@ Parameters </td> <td> <div>Map of NICs to update.</div> + <div>If unset, no NICs will be updated.</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_ethernet</span>.</div> + </td> + </tr> + <tr> + <td colspan="1"> + <div class="ansibleOptionAnchor" id="parameter-"></div> + <b>nvme_adapters</b> + <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> + <div style="font-size: small"> + <span style="color: purple">list</span> + / <span style="color: purple">elements=dictionary</span> + </div> + </td> + <td> + </td> + <td> + <div>List of NVMe adapters.</div> + <div>If unset, any adapters necessary to connect the virtual machine's storage devices will be created; this includes any devices that explicitly specify a NVMe host bus adapter, as well as any devices that do not specify a host bus adapter if the guest's preferred adapter type is NVMe.</div> + <div>Valid attributes are:</div> + <div>- <code>bus</code> (int): NVMe bus number.</div> + <div>If unset, the server will choose an available bus number; if none is available, the request will fail. (['present'])</div> + <div>- <code>pci_slot_number</code> (int): Address of the NVMe adapter on the PCI bus.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on. (['present'])</div> </td> </tr> <tr> @@ -683,17 +800,23 @@ Parameters </td> <td> <div>List of parallel ports.</div> + <div>If unset, no parallel ports will be created.</div> <div>Valid attributes are:</div> - <div>- <code>backing</code> (dict): Physical resource backing for the virtual parallel port. (['present'])</div> + <div>- <code>backing</code> (dict): Physical resource backing for the virtual parallel port.</div> + <div>If unset, defaults to automatic detection of a suitable host device. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual parallel port.</div> + <div>- type (string): This option defines the valid backing types for a virtual parallel port.</div> <div>Accepted value for this field:</div> <div>- <code>FILE</code></div> <div>- <code>HOST_DEVICE</code></div> <div>- file (string): Path of the file that should be used as the virtual parallel port backing.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is FILE.</div> <div>- host_device (string): Name of the device that should be used as the virtual parallel port backing.</div> - <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. (['present'])</div> - <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device. (['present'])</div> + <div>If unset, the virtual parallel port will be configured to automatically detect a suitable host device.</div> + <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device.</div> + <div>Defaults to false if unset. (['present'])</div> </td> </tr> <tr> @@ -709,6 +832,8 @@ Parameters </td> <td> <div>Map of parallel ports to Update.</div> + <div>If unset, no parallel ports will be updated.</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_parallel</span>.</div> </td> </tr> <tr> @@ -724,6 +849,7 @@ Parameters </td> <td> <div>Path to the virtual machine's configuration file on the datastore corresponding to {@link #datastore).</div> + <div>If unset, <em>datastore</em> must also be unset and <em>datastore_path</em> must be set.</div> </td> </tr> <tr> @@ -739,12 +865,31 @@ Parameters </td> <td> <div>Virtual machine placement information.</div> + <div>If this field is unset, the system will use the values from the source virtual machine. If specified, each field will be used for placement. If the fields result in disjoint placement the operation will fail. If the fields along with the other existing placement of the virtual machine result in disjoint placement the operation will fail.</div> <div>Valid attributes are:</div> - <div>- <code>folder</code> (str): Virtual machine folder into which the virtual machine should be placed. (['clone', 'instant_clone', 'present', 'register', 'relocate'])</div> - <div>- <code>resource_pool</code> (str): Resource pool into which the virtual machine should be placed. (['clone', 'instant_clone', 'present', 'register', 'relocate'])</div> - <div>- <code>host</code> (str): Host onto which the virtual machine should be placed. If <code>#host</code> and <code>#resource_pool</code> are both specified, <code>#resource_pool</code> must belong to <code>#host</code>. If <code>#host</code> and <code>#cluster</code> are both specified, <code>#host</code> must be a member of <code>#cluster</code>. (['clone', 'present', 'register', 'relocate'])</div> - <div>- <code>cluster</code> (str): Cluster into which the virtual machine should be placed. If <code>#cluster</code> and <code>#resource_pool</code> are both specified, <code>#resource_pool</code> must belong to <code>#cluster</code>. If <code>#cluster</code> and <code>#host</code> are both specified, <code>#host</code> must be a member of <code>#cluster</code>. (['clone', 'present', 'register', 'relocate'])</div> - <div>- <code>datastore</code> (str): Datastore on which the virtual machine's configuration state should be stored. This datastore will also be used for any virtual disks that are associated with the virtual machine, unless individually overridden. (['clone', 'instant_clone', 'present', 'relocate'])</div> + <div>- <code>folder</code> (str): Virtual machine folder into which the virtual machine should be placed.</div> + <div>If this field is unset, the virtual machine will stay in the current folder.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_folder_info</span>. (['clone', 'instant_clone', 'present', 'register', 'relocate'])</div> + <div>- <code>resource_pool</code> (str): Resource pool into which the virtual machine should be placed.</div> + <div>If this field is unset, the virtual machine will stay in the current resource pool.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_resourcepool_info</span>. (['clone', 'instant_clone', 'present', 'register', 'relocate'])</div> + <div>- <code>host</code> (str): Host onto which the virtual machine should be placed.</div> + <div>If <em>host</em> and <em>resource_pool</em> are both specified, <em>resource_pool</em> must belong to <em>host</em>.</div> + <div></div> + <div>If <em>host</em> and <em>cluster</em> are both specified, <em>host</em> must be a member of <em>cluster</em>.</div> + <div></div> + <div>If this field is unset, if <em>resource_pool</em> is unset, the virtual machine will remain on the current host. if <em>resource_pool</em> is set, and the target is a standalone host, the host is used. if <em>resource_pool</em> is set, and the target is a DRS cluster, a host will be picked by DRS. if <em>resource_pool</em> is set, and the target is a cluster without DRS, InvalidArgument will be thrown.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_host_info</span>. (['clone', 'present', 'register', 'relocate'])</div> + <div>- <code>cluster</code> (str): Cluster into which the virtual machine should be placed.</div> + <div>If <em>cluster</em> and <em>resource_pool</em> are both specified, <em>resource_pool</em> must belong to <em>cluster</em>.</div> + <div></div> + <div>If <em>cluster</em> and <em>host</em> are both specified, <em>host</em> must be a member of <em>cluster</em>.</div> + <div></div> + <div>If <em>resource_pool</em> or <em>host</em> is specified, it is recommended that this field be unset.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_cluster_info</span>. (['clone', 'present', 'register', 'relocate'])</div> + <div>- <code>datastore</code> (str): Datastore on which the virtual machine's configuration state should be stored. This datastore will also be used for any virtual disks that are associated with the virtual machine, unless individually overridden.</div> + <div>If this field is unset, the virtual machine will remain on the current datastore.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_datastore_info</span>. (['clone', 'instant_clone', 'present', 'relocate'])</div> </td> </tr> <tr> @@ -763,7 +908,8 @@ Parameters </ul> </td> <td> - <div>Attempt to perform a {@link #powerOn} after clone.</div> + <div>Attempt to perform a <em>power_on</em> after clone.</div> + <div>If unset, the virtual machine will not be powered on.</div> </td> </tr> <tr> @@ -780,12 +926,15 @@ Parameters </td> <td> <div>List of SATA adapters.</div> + <div>If unset, any adapters necessary to connect the virtual machine's storage devices will be created; this includes any devices that explicitly specify a SATA host bus adapter, as well as any devices that do not specify a host bus adapter if the guest's preferred adapter type is SATA.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>type</code> defines the valid emulation types for a virtual SATA adapter. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid emulation types for a virtual SATA adapter. (['present'])</div> <div>- Accepted values:</div> <div>- AHCI</div> - <div>- <code>bus</code> (int): SATA bus number. (['present'])</div> - <div>- <code>pci_slot_number</code> (int): Address of the SATA adapter on the PCI bus. (['present'])</div> + <div>- <code>bus</code> (int): SATA bus number.</div> + <div>If unset, the server will choose an available bus number; if none is available, the request will fail. (['present'])</div> + <div>- <code>pci_slot_number</code> (int): Address of the SATA adapter on the PCI bus.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on. (['present'])</div> </td> </tr> <tr> @@ -802,16 +951,19 @@ Parameters </td> <td> <div>List of SCSI adapters.</div> + <div>If unset, any adapters necessary to connect the virtual machine's storage devices will be created; this includes any devices that explicitly specify a SCSI host bus adapter, as well as any devices that do not specify a host bus adapter if the guest's preferred adapter type is SCSI. The type of the SCSI adapter will be a guest-specific default type.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>type</code> defines the valid emulation types for a virtual SCSI adapter. (['present'])</div> + <div>- <code>type</code> (str): This option defines the valid emulation types for a virtual SCSI adapter. (['present'])</div> <div>- Accepted values:</div> <div>- BUSLOGIC</div> <div>- LSILOGIC</div> <div>- LSILOGICSAS</div> <div>- PVSCSI</div> - <div>- <code>bus</code> (int): SCSI bus number. (['present'])</div> - <div>- <code>pci_slot_number</code> (int): Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added. (['present'])</div> - <div>- <code>sharing</code> (str): The <code>sharing</code> defines the valid bus sharing modes for a virtual SCSI adapter. (['present'])</div> + <div>- <code>bus</code> (int): SCSI bus number.</div> + <div>If unset, the server will choose an available bus number; if none is available, the request will fail. (['present'])</div> + <div>- <code>pci_slot_number</code> (int): Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added.</div> + <div>If unset, the server will choose an available address when the virtual machine is powered on. (['present'])</div> + <div>- <code>sharing</code> (str): This option defines the valid bus sharing modes for a virtual SCSI adapter. (['present'])</div> <div>- Accepted values:</div> <div>- NONE</div> <div>- PHYSICAL</div> @@ -832,11 +984,14 @@ Parameters </td> <td> <div>List of serial ports.</div> + <div>If unset, no serial ports will be created.</div> <div>Valid attributes are:</div> - <div>- <code>yield_on_poll</code> (bool): CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host. (['present'])</div> - <div>- <code>backing</code> (dict): Physical resource backing for the virtual serial port. (['present'])</div> + <div>- <code>yield_on_poll</code> (bool): CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host.</div> + <div>If unset, defaults to false. (['present'])</div> + <div>- <code>backing</code> (dict): Physical resource backing for the virtual serial port.</div> + <div>If unset, defaults to automatic detection of a suitable host device. (['present'])</div> <div>- Accepted keys:</div> - <div>- type (string): The <code>backing_type</code> defines the valid backing types for a virtual serial port.</div> + <div>- type (string): This option defines the valid backing types for a virtual serial port.</div> <div>Accepted value for this field:</div> <div>- <code>FILE</code></div> <div>- <code>HOST_DEVICE</code></div> @@ -845,13 +1000,26 @@ Parameters <div>- <code>PIPE_CLIENT</code></div> <div>- <code>PIPE_SERVER</code></div> <div>- file (string): Path of the file backing the virtual serial port.</div> - <div>- host_device (string): Name of the device backing the virtual serial port. <p></div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is FILE.</div> + <div>- host_device (string): Name of the device backing the virtual serial port.</div> + <div></div> + <div></div> + <div>If unset, the virtual serial port will be configured to automatically detect a suitable host device.</div> <div>- pipe (string): Name of the pipe backing the virtual serial port.</div> - <div>- no_rx_loss (boolean): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent data overrun. This allows the virtual machine to read all of the data transferred over the pipe with no data loss.</div> - <div>- network_location (string): URI specifying the location of the network service backing the virtual serial port. <ul> <li>If {@link #type} is {@link BackingType#NETWORK_SERVER}, this field is the location used by clients to connect to this server. The hostname part of the URI should either be empty or should specify the address of the host on which the virtual machine is running.</li> <li>If {@link #type} is {@link BackingType#NETWORK_CLIENT}, this field is the location used by the virtual machine to connect to the remote server.</li> </ul></div> - <div>- proxy (string): Proxy service that provides network access to the network backing. If set, the virtual machine initiates a connection with the proxy service and forwards the traffic to the proxy.</div> - <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. (['present'])</div> - <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device. (['present'])</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of PIPE_SERVER or PIPE_CLIENT.</div> + <div>- no_rx_loss (boolean): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent data overrun. This allows the virtual machine to read all of the data transferred over the pipe with no data loss.</div> + <div>If unset, defaults to false.</div> + <div>- network_location (string): URI specifying the location of the network service backing the virtual serial port.</div> + <div>- If <em>type</em> is NETWORK_SERVER, this field is the location used by clients to connect to this server. The hostname part of the URI should either be empty or should specify the address of the host on which the virtual machine is running.</div> + <div>- If <em>type</em> is NETWORK_CLIENT, this field is the location used by the virtual machine to connect to the remote server.</div> + <div></div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is one of NETWORK_SERVER or NETWORK_CLIENT.</div> + <div>- proxy (string): Proxy service that provides network access to the network backing. If set, the virtual machine initiates a connection with the proxy service and forwards the traffic to the proxy.</div> + <div>If unset, no proxy service should be used.</div> + <div>- <code>start_connected</code> (bool): Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on.</div> + <div>Defaults to false if unset. (['present'])</div> + <div>- <code>allow_guest_control</code> (bool): Flag indicating whether the guest can connect and disconnect the device.</div> + <div>Defaults to false if unset. (['present'])</div> </td> </tr> <tr> @@ -867,6 +1035,8 @@ Parameters </td> <td> <div>Map of serial ports to Update.</div> + <div>If unset, no serial ports will be updated.</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_serial</span>.</div> </td> </tr> <tr> @@ -899,7 +1069,8 @@ Parameters <td> </td> <td> - <div>Virtual machine to InstantClone from. Required with <em>state=['clone', 'instant_clone']</em></div> + <div>Virtual machine to InstantClone from.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['clone', 'instant_clone']</em></div> </td> </tr> <tr> @@ -937,9 +1108,11 @@ Parameters <td> </td> <td> - <div>The <code>storage_policy_spec</code> {@term structure} contains information about the storage policy that is to be associated with the virtual machine home (which contains the configuration and log files). Required with <em>state=['present']</em></div> + <div>The <em>storage_policy_spec</em> structure contains information about the storage policy that is to be associated with the virtual machine home (which contains the configuration and log files).</div> + <div>If unset the datastore default storage policy (if applicable) is applied. Currently a default storage policy is only supported by object datastores : VVol and vSAN. For non-object datastores, if unset then no storage policy would be associated with the virtual machine home. Required with <em>state=['present']</em></div> <div>Valid attributes are:</div> - <div>- <code>policy</code> (str): Identifier of the storage policy which should be associated with the virtual machine. (['present'])</div> + <div>- <code>policy</code> (str): Identifier of the storage policy which should be associated with the virtual machine.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_storage_policies</span>. (['present'])</div> <div>This key is required with ['present'].</div> </td> </tr> @@ -1045,7 +1218,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine to be unregistered. Required with <em>state=['absent', 'relocate', 'unregister']</em></div> + <div>Identifier of the virtual machine to be unregistered.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['absent', 'relocate', 'unregister']</em></div> </td> </tr> </table> @@ -1056,7 +1230,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst index 21aad261c..41dd52a0a 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_module.rst index 6292a17b5..bcc0a64b7 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_power_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -183,7 +183,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -194,7 +195,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 See Also diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst index aa8dfa8ae..99a2e5ea8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. Required with <em>state=['get']</em></div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst index 2fbd6950a..0061dcaae 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_compliance_module.rst @@ -5,7 +5,7 @@ vmware.vmware_rest.vcenter_vm_storage_policy_compliance ******************************************************* -**Returns the storage policy Compliance {@link Info} of a virtual machine after explicitly re-computing compliance check.** +**Returns the storage policy Compliance Compliance.Info of a virtual machine after explicitly re-computing compliance check.** Version added: 0.1.0 @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Returns the storage policy Compliance {@link Info} of a virtual machine after explicitly re-computing compliance check. +- Returns the storage policy Compliance Compliance.Info of a virtual machine after explicitly re-computing compliance check. @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -55,6 +55,8 @@ Parameters </td> <td> <div>Identifiers of the virtual machine's virtual disks for which compliance should be checked.</div> + <div>If unset or empty, compliance check is invoked on all the associated disks.</div> + <div>When clients pass a value of this structure as a parameter, the field must contain the id of resources returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>.</div> </td> </tr> <tr> @@ -196,7 +198,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -227,7 +230,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst index b157856e9..118f24ad0 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier Required with <em>state=['get']</em></div> + <div>Virtual machine identifier</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst index 9d2b8f4df..41476b453 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_storage_policy_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,8 @@ Parameters </td> <td> <div>Storage policy or policies to be used when reconfiguring virtual machine diks.</div> + <div>if unset the current storage policy is retained.</div> + <div>When clients pass a value of this structure as a parameter, the key in the field map must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_hardware_disk</span>.</div> </td> </tr> <tr> @@ -194,7 +196,8 @@ Parameters <td> </td> <td> - <div>Virtual machine identifier. This parameter is mandatory.</div> + <div>Virtual machine identifier.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> <tr> @@ -210,14 +213,17 @@ Parameters <td> </td> <td> - <div>Storage policy to be used when reconfiguring the virtual machine home. This parameter is mandatory.</div> + <div>Storage policy to be used when reconfiguring the virtual machine home.</div> + <div>if unset the current storage policy is retained. This parameter is mandatory.</div> <div>Valid attributes are:</div> - <div>- <code>type</code> (str): The <code>policy_type</code> defines the choices for how to specify the policy to be associated with the virtual machine home's directory. (['present'])</div> + <div>- <code>type</code> (str): This option defines the choices for how to specify the policy to be associated with the virtual machine home's directory. (['present'])</div> <div>This key is required with ['present'].</div> <div>- Accepted values:</div> <div>- USE_DEFAULT_POLICY</div> <div>- USE_SPECIFIED_POLICY</div> - <div>- <code>policy</code> (str): Storage Policy identification. (['present'])</div> + <div>- <code>policy</code> (str): Storage Policy identification.</div> + <div>This field is optional and it is only relevant when the value of <em>type</em> is USE_SPECIFIED_POLICY.</div> + <div>When clients pass a value of this structure as a parameter, the field must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_storage_policies</span>. (['present'])</div> </td> </tr> </table> @@ -228,7 +234,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_info_module.rst index 20b9bbecd..16ac1f9ae 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_info_module.rst index eb3755e19..2040aabc2 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -161,7 +161,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. Required with <em>state=['get']</em></div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. Required with <em>state=['get']</em></div> </td> </tr> </table> @@ -172,7 +173,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_module.rst index c3c89d45d..85465118d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_installer_module.rst @@ -17,7 +17,7 @@ Version added: 0.1.0 Synopsis -------- -- Connects the VMware Tools CD installer as a CD-ROM for the guest operating system. On Windows guest operating systems with autorun, this should cause the installer to initiate the Tools installation which will need user input to complete. On other (non-Windows) guest operating systems this will make the Tools installation available, and a a user will need to do guest-specific actions. On Linux, this includes opening an archive and running the installer. To monitor the status of the Tools install, clients should check the {@name vcenter.vm.Tools.Info#versionStatus} and {@name vcenter.vm.Tools.Info#runState} from {@link vcenter.vm.Tools#get} +- Connects the VMware Tools CD installer as a CD-ROM for the guest operating system. On Windows guest operating systems with autorun, this should cause the installer to initiate the Tools installation which will need user input to complete. On other (non-Windows) guest operating systems this will make the Tools installation available, and a a user will need to do guest-specific actions. On Linux, this includes opening an archive and running the installer. To monitor the status of the Tools install, clients should check the Tools.Info.version-status and Tools.Info.run-state from Tools.get @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -181,7 +181,8 @@ Parameters <td> </td> <td> - <div>Virtual machine ID This parameter is mandatory.</div> + <div>Virtual machine ID</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -192,7 +193,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_module.rst index edd59f366..113a7e709 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vm_tools_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -54,6 +54,7 @@ Parameters </td> <td> <div>Command line options passed to the installer to modify the installation procedure for Tools.</div> + <div>Set if any additional options are desired.</div> </td> </tr> <tr> @@ -108,7 +109,7 @@ Parameters </ul> </td> <td> - <div>The <code>upgrade_policy</code> defines when Tools are auto-upgraded for a virtual machine.</div> + <div>The <em>upgrade_policy</em> enumerated type defines when Tools are auto-upgraded for a virtual machine.</div> </td> </tr> <tr> @@ -214,7 +215,8 @@ Parameters <td> </td> <td> - <div>Identifier of the virtual machine. This parameter is mandatory.</div> + <div>Identifier of the virtual machine.</div> + <div>The parameter must be the id of a resource returned by <span class='module'>vmware.vmware_rest.vcenter_vm_info</span>. This parameter is mandatory.</div> </td> </tr> </table> @@ -225,7 +227,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_info_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_info_module.rst index 8fd6cb24f..bf83dc6c8 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_info_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_info_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -172,7 +172,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_module.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_module.rst index a49c22c22..bd523525d 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_module.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vcenter_vmtemplate_libraryitems_module.rst @@ -25,7 +25,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp @@ -394,7 +394,7 @@ Notes ----- .. note:: - - Tested on vSphere 7.0.2 + - Tested on vSphere 7.0.3 diff --git a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vm_moid_lookup.rst b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vm_moid_lookup.rst index 252d64d2e..1a5904c88 100644 --- a/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vm_moid_lookup.rst +++ b/ansible_collections/vmware/vmware_rest/docs/vmware.vmware_rest.vm_moid_lookup.rst @@ -48,7 +48,7 @@ Parameters <b>_terms</b> <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> <div style="font-size: small"> - <span style="color: purple">-</span> + <span style="color: purple">string</span> / <span style="color: red">required</span> </div> </td> @@ -73,10 +73,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_HOST</div> </td> <td> <div>The hostname or IP address of the vSphere vCenter.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_HOST</code> will be used instead.</div> </td> </tr> <tr> @@ -92,10 +92,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_PASSWORD</div> </td> <td> <div>The vSphere vCenter password.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_PASSWORD</code> will be used instead.</div> </td> </tr> <tr> @@ -110,12 +110,12 @@ Parameters <td> </td> <td> + <div>env:VMWARE_REST_LOG_FILE</div> </td> <td> <div>You can use this optional parameter to set the location of a log file.</div> - <div>This file will be used to record the HTTP REST interaction.</div> - <div>The file will be stored on the host that run the module.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_REST_LOG_FILE</code> will be used instead.</div> + <div>This file will be used to record the HTTP REST interactions.</div> + <div>The file will be stored on the host that runs the module.</div> </td> </tr> <tr> @@ -131,10 +131,10 @@ Parameters <td> </td> <td> + <div>env:VMWARE_USER</div> </td> <td> <div>The vSphere vCenter username.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_USER</code> will be used instead.</div> </td> </tr> <tr> @@ -147,16 +147,13 @@ Parameters </div> </td> <td> - <ul style="margin: 0; padding: 0"><b>Choices:</b> - <li>no</li> - <li><div style="color: blue"><b>yes</b> ←</div></li> - </ul> + <b>Default:</b><br/><div style="color: blue">"yes"</div> </td> <td> + <div>env:VMWARE_VALIDATE_CERTS</div> </td> <td> - <div>Allows connection when SSL certificates are not valid. Set to <code>false</code> when certificates are not trusted.</div> - <div>If the value is not specified in the task, the value of environment variable <code>VMWARE_VALIDATE_CERTS</code> will be used instead.</div> + <div>Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.</div> </td> </tr> </table> diff --git a/ansible_collections/vmware/vmware_rest/meta/runtime.yml b/ansible_collections/vmware/vmware_rest/meta/runtime.yml index 2ee3c9fa9..b1fd5d786 100644 --- a/ansible_collections/vmware/vmware_rest/meta/runtime.yml +++ b/ansible_collections/vmware/vmware_rest/meta/runtime.yml @@ -1,2 +1,135 @@ ---- -requires_ansible: '>=2.9.10' +requires_ansible: '>=2.14.0' +action_groups: + vmware_rest: + - vcenter_cluster_info + - vcenter_datacenter_info + - vcenter_datacenter + - vcenter_datastore_info + - vcenter_folder_info + - vcenter_host_info + - vcenter_host + - vcenter_network_info + - vcenter_ovf_libraryitem + - vcenter_resourcepool_info + - vcenter_resourcepool + - vcenter_storage_policies_info + - vcenter_vm_info + - vcenter_vm + - vcenter_vmtemplate_libraryitems_info + - vcenter_vmtemplate_libraryitems + - vcenter_vm_guest_customization + - vcenter_vm_guest_filesystem_directories + - vcenter_vm_guest_identity_info + - vcenter_vm_guest_localfilesystem_info + - vcenter_vm_guest_networking_info + - vcenter_vm_guest_networking_interfaces_info + - vcenter_vm_guest_networking_routes_info + - vcenter_vm_guest_operations_info + - vcenter_vm_guest_power_info + - vcenter_vm_guest_power + - vcenter_vm_hardware_info + - vcenter_vm_hardware + - vcenter_vm_hardware_adapter_sata_info + - vcenter_vm_hardware_adapter_sata + - vcenter_vm_hardware_adapter_scsi_info + - vcenter_vm_hardware_adapter_scsi + - vcenter_vm_hardware_boot_info + - vcenter_vm_hardware_boot + - vcenter_vm_hardware_boot_device_info + - vcenter_vm_hardware_boot_device + - vcenter_vm_hardware_cdrom_info + - vcenter_vm_hardware_cdrom + - vcenter_vm_hardware_cpu_info + - vcenter_vm_hardware_cpu + - vcenter_vm_hardware_disk_info + - vcenter_vm_hardware_disk + - vcenter_vm_hardware_ethernet_info + - vcenter_vm_hardware_ethernet + - vcenter_vm_hardware_floppy_info + - vcenter_vm_hardware_floppy + - vcenter_vm_hardware_memory_info + - vcenter_vm_hardware_memory + - vcenter_vm_hardware_parallel_info + - vcenter_vm_hardware_parallel + - vcenter_vm_hardware_serial_info + - vcenter_vm_hardware_serial + - vcenter_vm_libraryitem_info + - vcenter_vm_power_info + - vcenter_vm_power + - vcenter_vm_storage_policy_info + - vcenter_vm_storage_policy + - vcenter_vm_storage_policy_compliance_info + - vcenter_vm_storage_policy_compliance + - vcenter_vm_tools_info + - vcenter_vm_tools + - vcenter_vm_tools_installer_info + - vcenter_vm_tools_installer + - content_configuration_info + - content_configuration + - content_library_item_info + - content_locallibrary_info + - content_locallibrary + - content_subscribedlibrary_info + - content_subscribedlibrary + - appliance_access_consolecli_info + - appliance_access_consolecli + - appliance_access_dcui_info + - appliance_access_dcui + - appliance_access_shell_info + - appliance_access_shell + - appliance_access_ssh_info + - appliance_access_ssh + - appliance_health_applmgmt_info + - appliance_health_database_info + - appliance_health_databasestorage_info + - appliance_health_load_info + - appliance_health_mem_info + - appliance_health_softwarepackages_info + - appliance_health_storage_info + - appliance_health_swap_info + - appliance_health_system_info + - appliance_infraprofile_configs_info + - appliance_infraprofile_configs + - appliance_localaccounts_info + - appliance_localaccounts_globalpolicy_info + - appliance_localaccounts_globalpolicy + - appliance_monitoring_info + - appliance_monitoring_query + - appliance_networking_info + - appliance_networking + - appliance_networking_dns_domains_info + - appliance_networking_dns_domains + - appliance_networking_dns_hostname_info + - appliance_networking_dns_hostname + - appliance_networking_dns_servers_info + - appliance_networking_dns_servers + - appliance_networking_firewall_inbound_info + - appliance_networking_firewall_inbound + - appliance_networking_interfaces_info + - appliance_networking_interfaces_ipv4_info + - appliance_networking_interfaces_ipv4 + - appliance_networking_interfaces_ipv6_info + - appliance_networking_interfaces_ipv6 + - appliance_networking_noproxy_info + - appliance_networking_noproxy + - appliance_networking_proxy_info + - appliance_networking_proxy + - appliance_ntp_info + - appliance_ntp + - appliance_services_info + - appliance_services + - appliance_shutdown_info + - appliance_shutdown + - appliance_system_globalfips_info + - appliance_system_globalfips + - appliance_system_storage_info + - appliance_system_storage + - appliance_system_time_info + - appliance_system_time_timezone_info + - appliance_system_time_timezone + - appliance_system_version_info + - appliance_timesync_info + - appliance_timesync + - appliance_update_info + - appliance_vmon_service_info + - appliance_vmon_service diff --git a/ansible_collections/vmware/vmware_rest/plugins/doc_fragments/moid.py b/ansible_collections/vmware/vmware_rest/plugins/doc_fragments/moid.py index c241b7cbe..fe061b3be 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/doc_fragments/moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/doc_fragments/moid.py @@ -12,42 +12,43 @@ class ModuleDocFragment(object): options: _terms: description: Path to query. - required: true + required: True + type: string vcenter_hostname: description: - The hostname or IP address of the vSphere vCenter. - - If the value is not specified in the task, the value of environment variable - C(VMWARE_HOST) will be used instead. - required: true - type: str + env: + - name: VMWARE_HOST + required: True + type: string vcenter_password: description: - The vSphere vCenter password. - - If the value is not specified in the task, the value of environment variable - C(VMWARE_PASSWORD) will be used instead. - required: true - type: str + env: + - name: VMWARE_PASSWORD + required: True + type: string vcenter_rest_log_file: description: - You can use this optional parameter to set the location of a log file. - - This file will be used to record the HTTP REST interaction. - - The file will be stored on the host that run the module. - - If the value is not specified in the task, the value of environment variable - C(VMWARE_REST_LOG_FILE) will be used instead. - type: str + - This file will be used to record the HTTP REST interactions. + - The file will be stored on the host that runs the module. + env: + - name: VMWARE_REST_LOG_FILE + type: string vcenter_username: description: - The vSphere vCenter username. - - If the value is not specified in the task, the value of environment variable - C(VMWARE_USER) will be used instead. - required: true - type: str + env: + - name: VMWARE_USER + required: True + type: string vcenter_validate_certs: - default: true description: - - Allows connection when SSL certificates are not valid. Set to C(false) when + - Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted. - - If the value is not specified in the task, the value of environment variable - C(VMWARE_VALIDATE_CERTS) will be used instead. - type: bool + default: true + env: + - name: VMWARE_VALIDATE_CERTS + type: boolean """ diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/cluster_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/cluster_moid.py index 22a3629d2..474af1d4c 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/cluster_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/cluster_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -29,9 +29,9 @@ EXAMPLES = r""" - name: set connection info ansible.builtin.set_fact: connection_args: - vcenter_hostname: "vcenter.test" - vcenter_username: "administrator@vsphere.local" - vcenter_password: "1234" + vcenter_hostname: "vcenter.test" + vcenter_username: "administrator@vsphere.local" + vcenter_password: "1234" - name: lookup MoID of the object ansible.builtin.debug: msg="{{ lookup('vmware.vmware_rest.cluster_moid', '/my_dc/host/my_cluster', **connection_args) }}" @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "cluster") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/datacenter_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/datacenter_moid.py index d3f644eb9..f80e1a683 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/datacenter_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/datacenter_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "datacenter") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/datastore_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/datastore_moid.py index 27d3c779b..02a0e0940 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/datastore_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/datastore_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "datastore") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/folder_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/folder_moid.py index aeca68eef..7d9d2476b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/folder_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/folder_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "folder") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/host_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/host_moid.py index 9e3b7bfc2..b9fe89032 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/host_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/host_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "host") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/network_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/network_moid.py index 26b9dd80d..7047a13be 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/network_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/network_moid.py @@ -12,11 +12,13 @@ name: network_moid short_description: Look up MoID for vSphere network objects using vCenter REST API description: - Returns Managed Object Reference (MoID) of the vSphere network object contained in the specified path. + - This lookup cannot distinguish between multiple networks with the same name defined in multiple switches + as that is not supported by the vSphere REST API; network names must be unique within a given datacenter/folder path. author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +51,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "network") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/resource_pool_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/resource_pool_moid.py index c5d45be09..bd4f1adfa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/resource_pool_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/resource_pool_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "resource_pool") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/lookup/vm_moid.py b/ansible_collections/vmware/vmware_rest/plugins/lookup/vm_moid.py index 4a81ec55a..4c49b8d0a 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/lookup/vm_moid.py +++ b/ansible_collections/vmware/vmware_rest/plugins/lookup/vm_moid.py @@ -16,7 +16,7 @@ author: - Alina Buzachis (@alinabuzachis) version_added: 2.1.0 requirements: - - vSphere 7.0.2 or greater + - vSphere 7.0.3 or greater - python >= 3.6 - aiohttp extends_documentation_fragment: @@ -49,18 +49,15 @@ _raw: """ -from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import ( - Lookup, - get_credentials, -) from ansible_collections.cloud.common.plugins.plugin_utils.turbo.lookup import ( TurboLookupBase as LookupBase, ) +from ansible_collections.vmware.vmware_rest.plugins.plugin_utils.lookup import Lookup class LookupModule(LookupBase): async def _run(self, terms, variables, **kwargs): - self.set_options(var_options=variables, direct=get_credentials(**kwargs)) + self.set_options(var_options=variables, direct=kwargs) self.set_option("object_type", "vm") result = await Lookup.entry_point(terms, self._options) return [result] diff --git a/ansible_collections/vmware/vmware_rest/plugins/module_utils/vmware_rest.py b/ansible_collections/vmware/vmware_rest/plugins/module_utils/vmware_rest.py index ec4863693..2c228b1fd 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/module_utils/vmware_rest.py +++ b/ansible_collections/vmware/vmware_rest/plugins/module_utils/vmware_rest.py @@ -32,7 +32,6 @@ import hashlib import importlib import json import re - import urllib.parse from ansible.module_utils.basic import missing_required_lib @@ -271,7 +270,7 @@ async def update_changed_flag(data, status, operation): async def list_devices(session, url): - existing_entries = [] + pass async with session.get(url) as resp: _json = await resp.json() diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli.py index cdf6511c0..1c1a3eb10 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -75,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -102,8 +99,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -118,26 +113,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -204,7 +200,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli_info.py index d14bfae21..a14c9672a 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_consolecli_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -90,8 +87,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -106,26 +101,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui.py index d314ae39c..1e5c26e0b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -75,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -102,8 +99,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -118,26 +113,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -202,7 +198,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui_info.py index b7009c91a..33d64ae48 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_dcui_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -90,8 +87,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -106,26 +101,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell.py index 9962b04be..5cc4377f1 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -83,11 +80,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -123,8 +120,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -139,26 +134,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -224,7 +220,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell_info.py index 1821b6b60..78cc1a29a 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_shell_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -66,11 +63,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -95,8 +92,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -111,26 +106,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh.py index d48605e82..85add817c 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -75,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -103,8 +100,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"enabled": "enabled"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -119,26 +114,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -203,7 +199,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh_info.py index fd6b47701..debb75fd4 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_access_ssh_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_applmgmt_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_applmgmt_info.py index 56563f611..ce822f432 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_applmgmt_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_applmgmt_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_database_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_database_info.py index 0a73c8e14..2b6c5e41b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_database_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_database_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -85,8 +82,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -101,26 +96,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_databasestorage_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_databasestorage_info.py index c45b70893..c23c4b5cf 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_databasestorage_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_databasestorage_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_load_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_load_info.py index 682073a76..a5f632627 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_load_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_load_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_mem_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_mem_info.py index 4d36033c8..4e02ed37b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_mem_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_mem_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -78,6 +75,7 @@ EXAMPLES = r""" """ RETURN = r""" + # content generated by the update_return_section callback# task: Get the system mem status value: description: Get the system mem status @@ -91,8 +89,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +103,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_softwarepackages_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_softwarepackages_info.py index 0ced96666..da749d9c6 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_softwarepackages_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_softwarepackages_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -69,11 +66,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -96,8 +93,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -112,26 +107,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_storage_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_storage_info.py index abe8be6a2..d334c03e2 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_storage_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_storage_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_swap_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_swap_info.py index 1dd108a64..ba7c51d40 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_swap_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_swap_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_system_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_system_info.py index ba094ada2..2102647d2 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_system_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_health_system_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs.py index 5bb72f120..8c685fde6 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -88,11 +85,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -137,8 +134,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -153,26 +148,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -241,7 +237,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs_info.py index 61e865798..ae36681b4 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_infraprofile_configs_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -97,8 +94,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -113,26 +108,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy.py index 6193406ee..ee3fe2a1f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -19,11 +16,13 @@ options: description: - Maximum number of days a password may be used. If the password is older than this, a password change will be forced. + - If unset then the restriction will be ignored. type: int min_days: description: - Minimum number of days allowed between password changes. Any password changes attempted sooner than this will be rejected. + - If unset then the restriction will be ignored. type: int session_timeout: description: @@ -80,16 +79,17 @@ options: description: - Number of days warning given before a password expires. A zero means warning is given only upon the day of expiration. + - If unset then no warning will be provided. type: int author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -120,8 +120,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -136,26 +134,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -224,7 +223,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy_info.py index 6894e980e..6ae13879d 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_globalpolicy_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -94,8 +91,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -110,26 +105,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_info.py index 80c561463..a0ef2687b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_localaccounts_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -68,11 +65,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -124,8 +121,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -143,23 +138,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_info.py index 9bd24c17d..d554c1b34 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -25,7 +22,9 @@ options: version_added: 2.1.0 stat_id: description: - - statistic item id Required with I(state=['get']) + - statistic item id + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_monitoring_info). + Required with I(state=['get']) type: str vcenter_hostname: description: @@ -68,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -918,8 +917,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -937,23 +934,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_query.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_query.py index af56df191..b9a7aea23 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_query.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_monitoring_query.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -27,7 +24,8 @@ options: - MAX - MIN description: - - C(function_type) Defines aggregation function This parameter is mandatory. + - I(function_type) enumerated type Defines aggregation function This parameter + is mandatory. required: true type: str interval: @@ -38,13 +36,15 @@ options: - MINUTES30 - MINUTES5 description: - - C(interval_type) Defines interval between the values in hours and mins, for - which aggregation will apply This parameter is mandatory. + - I(interval_type) enumerated type Defines interval between the values in + hours and mins, for which aggregation will apply This parameter is mandatory. required: true type: str names: description: - - 'monitored item IDs Ex: CPU, MEMORY This parameter is mandatory.' + - 'monitored item IDs Ex: CPU, MEMORY' + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.appliance_monitoring_info). elements: str required: true type: list @@ -102,11 +102,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -164,8 +164,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -180,26 +178,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -277,7 +276,6 @@ def build_url(params): async def entry_point(module, session): - func = globals()["_query"] return await func(module.params, session) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking.py index f5e5ed6f9..38e5c6c27 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -20,6 +17,7 @@ options: ipv6_enabled: description: - IPv6 Enabled or not + - If unspecified, leaves the current state of Ipv6. type: bool session_timeout: description: @@ -77,11 +75,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -111,8 +109,6 @@ PAYLOAD_FORMAT = { "update": {"query": {}, "body": {"ipv6_enabled": "ipv6_enabled"}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -127,26 +123,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -215,7 +212,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains.py index 670fef6e0..accfb894d 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -80,11 +77,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -112,12 +109,10 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "set": {"query": {}, "body": {"domains": "domains"}, "path": {}}, "add": {"query": {}, "body": {"domain": "domain"}, "path": {}}, + "set": {"query": {}, "body": {"domains": "domains"}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -132,26 +127,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -223,7 +219,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains_info.py index 5f0fc5ab7..32305e7cb 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_domains_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname.py index 6e764f653..5278d94ea 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -76,11 +73,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -110,8 +107,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"name": "name"}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -126,26 +121,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -216,7 +212,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname_info.py index c8fc059bf..73d948fbc 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_hostname_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers.py index 137dadf33..4bee9ebdb 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,8 +18,8 @@ options: - dhcp - is_static description: - - C(dns_server_mode) Describes DNS Server source (DHCP,static) Required with - I(state=['set']) + - I(dns_server_mode) enumerated type Describes DNS Server source (DHCP,static) + Required with I(state=['set']) type: str server: description: @@ -90,11 +87,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -144,12 +141,10 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { "test": {"query": {}, "body": {"servers": "servers"}, "path": {}}, - "set": {"query": {}, "body": {"mode": "mode", "servers": "servers"}, "path": {}}, "add": {"query": {}, "body": {"server": "server"}, "path": {}}, + "set": {"query": {}, "body": {"mode": "mode", "servers": "servers"}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -164,26 +159,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -256,7 +252,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers_info.py index 6cfb9a51a..82b50b7f4 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_dns_servers_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -94,8 +91,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -110,26 +105,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound.py index 4398c2a27..b1eb55b16 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,14 +15,7 @@ description: 'Set the ordered list of firewall rules to allow or deny traffic fr one or more incoming IP addresses. This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can - be as follows: <table> <tr> <th>Address</th><th>Prefix</th><th>Interface Name</th><th>Policy</th> - </tr> <tr> <td>10.112.0.1</td><td>0</td><td>*</td><td>REJECT</td> </tr> <tr> <td>10.112.0.1</td><td>0</td><td>nic0</td><td>ACCEPT</td> - </tr> </table> In the above example, the first rule drops all packets originating - from 10.112.0.1 and<br> the second rule accepts all packets originating from 10.112.0.1 - only on nic0. In effect, the second rule is always ignored which is not desired, - hence the order has to be swapped. When a connection matches a firewall rule, - further processing for the connection stops, and the appliance ignores any additional - firewall rules you have set.' + be as follows: [dropped table ]' options: rules: description: @@ -36,7 +26,8 @@ options: - ' - C(prefix) (int): CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address. ([''set''])' - ' This key is required with [''set''].' - - ' - C(policy) (str): C(policy) Defines firewall rule policies. ([''set''])' + - ' - C(policy) (str): I(policy) enumerated type Defines firewall rule policies. + ([''set''])' - ' This key is required with [''set''].' - ' - Accepted values:' - ' - ACCEPT' @@ -103,11 +94,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -146,8 +137,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"rules": "rules"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -162,26 +151,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -248,7 +238,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound_info.py index 5f874f28d..dbe5616c0 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_firewall_inbound_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -67,11 +64,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -94,8 +91,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -110,26 +105,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_info.py index 48c364894..ebf11dd3f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -118,8 +115,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -134,26 +129,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_info.py index 12ff0d9d8..9d08ce5b9 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Get information about a particular network interface. options: interface_name: description: - - Network interface, for example, "nic0". Required with I(state=['get']) + - Network interface, for example, "nic0". + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_networking_interfaces_info). + Required with I(state=['get']) type: str session_timeout: description: @@ -68,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -125,8 +124,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -144,23 +141,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4.py index 28a2e5e5d..2f2b96f71 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,6 +15,8 @@ options: address: description: - The IPv4 address, for example, "10.20.80.191". + - This field is optional and it is only relevant when the value of I(mode) + is STATIC. type: str default_gateway: description: @@ -27,10 +26,13 @@ options: However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces. + - If unset, the defaultGateway was never set. type: str interface_name: description: - - Network interface to update, for example, "nic0". This parameter is mandatory. + - Network interface to update, for example, "nic0". + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_networking_interfaces_info). + This parameter is mandatory. required: true type: str mode: @@ -39,14 +41,16 @@ options: - STATIC - UNCONFIGURED description: - - The C(mode) defines different IPv4 address assignment modes. This parameter - is mandatory. + - The I(mode) enumerated type defines different IPv4 address assignment modes. + This parameter is mandatory. required: true type: str prefix: description: - - The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html + - The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. + - This field is optional and it is only relevant when the value of I(mode) + is STATIC. type: int session_timeout: description: @@ -103,11 +107,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -152,8 +156,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -168,26 +170,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -263,7 +266,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4_info.py index 745b77695..5700b1ac0 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv4_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Get IPv4 network configuration for specific NIC. options: interface_name: description: - - The Network interface to query, for example, "nic0". Required with I(state=['get']) + - The Network interface to query, for example, "nic0". + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_networking_interfaces_info). + Required with I(state=['get']) type: str session_timeout: description: @@ -68,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -101,8 +100,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"interface_name": "interface_name"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -117,26 +114,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6.py index 8ce23e3cf..fbc73396e 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -51,7 +48,9 @@ options: type: bool interface_name: description: - - Network interface to update, for example, "nic0". This parameter is mandatory. + - Network interface to update, for example, "nic0". + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_networking_interfaces_info). + This parameter is mandatory. required: true type: str session_timeout: @@ -109,11 +108,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -155,8 +154,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -171,26 +168,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -262,7 +260,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6_info.py index 1554a6337..858d3541b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_interfaces_ipv6_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Get IPv6 network configuration for specific interface. options: interface_name: description: - - Network interface to query, for example, "nic0". Required with I(state=['get']) + - Network interface to query, for example, "nic0". + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_networking_interfaces_info). + Required with I(state=['get']) type: str session_timeout: description: @@ -68,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -105,8 +104,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"interface_name": "interface_name"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -121,26 +118,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy.py index 7b85605b5..0c938c1fa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -82,11 +79,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -117,8 +114,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"servers": "servers"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -133,26 +128,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -219,7 +215,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy_info.py index 0f6d26b19..4b779ebfa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_noproxy_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -78,14 +75,12 @@ EXAMPLES = r""" """ RETURN = r""" -# content generated by the update_return_section callback# task: Get HTTP noproxy configuration +# content generated by the update_return_section callback# task: Remove the noproxy entries value: - description: Get HTTP noproxy configuration + description: Remove the noproxy entries returned: On success - sample: - - localhost - - 127.0.0.1 - type: list + sample: {} + type: dict """ # This structure describes the format of the data expected by the end-points @@ -93,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -109,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy.py index ddf002bb7..71bc5abd0 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -28,22 +25,22 @@ options: the port to connect to the proxy server. A value of -1 indicates the default port. ([''test''])' - ' This key is required with [''test''].' - - ' - C(username) (str): Username for proxy server. ([''test''])' - - ' - C(password) (str): Password for proxy server. ([''test''])' - - ' - C(enabled) (bool): In the result of the C(#get) and C(#list) {@term - operations} this field indicates whether proxying is enabled for a particular - protocol. In the input to the C(test) and C(set) {@term operations} this - field specifies whether proxying should be enabled for a particular protocol. - ([''test''])' + - ' - C(username) (str): Username for proxy server.' + - Only set if proxy requires username. (['test']) + - ' - C(password) (str): Password for proxy server.' + - Only set if proxy requires password. (['test']) + - ' - C(enabled) (bool): In the result of the #get and #list operations this + field indicates whether proxying is enabled for a particular protocol. + In the input to the test and set operations this field specifies whether + proxying should be enabled for a particular protocol. ([''test''])' - ' This key is required with [''test''].' type: dict enabled: description: - - In the result of the C(#get) and C(#list) {@term operations} this field - indicates whether proxying is enabled for a particular protocol. In the - input to the C(test) and C(set) {@term operations} this field specifies - whether proxying should be enabled for a particular protocol. Required - with I(state=['set']) + - 'In the result of the #get and #list operations this field indicates whether + proxying is enabled for a particular protocol. In the input to the test + and set operations this field specifies whether proxying should be enabled + for a particular protocol. Required with I(state=[''set''])' type: bool host: description: @@ -52,6 +49,7 @@ options: password: description: - Password for proxy server. + - Only set if proxy requires password. type: str port: description: @@ -88,6 +86,7 @@ options: username: description: - Username for proxy server. + - Only set if proxy requires username. type: str vcenter_hostname: description: @@ -130,11 +129,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -169,6 +168,7 @@ PAYLOAD_FORMAT = { "body": {"config": "config", "host": "host"}, "path": {"protocol": "protocol"}, }, + "delete": {"query": {}, "body": {}, "path": {"protocol": "protocol"}}, "set": { "query": {}, "body": { @@ -180,11 +180,8 @@ PAYLOAD_FORMAT = { }, "path": {"protocol": "protocol"}, }, - "delete": {"query": {}, "body": {}, "path": {"protocol": "protocol"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -199,26 +196,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -296,7 +294,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy_info.py index e3dbdfcfc..81f7d8dfa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_networking_proxy_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -68,11 +65,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -108,8 +105,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -127,23 +122,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp.py index d26d17bf6..5db6acbfa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -81,11 +78,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -123,8 +120,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"servers": "servers"}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -139,26 +134,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -227,7 +223,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp_info.py index a3890ff7b..c3821cc40 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_ntp_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -68,11 +65,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -99,8 +96,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -115,26 +110,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services.py index 4542c19fc..f277fd1eb 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Restarts a service options: service: description: - - identifier of the service to restart This parameter is mandatory. + - identifier of the service to restart + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_services_info). + This parameter is mandatory. required: true type: str session_timeout: @@ -77,11 +76,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -115,13 +114,11 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "start": {"query": {}, "body": {}, "path": {"service": "service"}}, "restart": {"query": {}, "body": {}, "path": {"service": "service"}}, + "start": {"query": {}, "body": {}, "path": {"service": "service"}}, "stop": {"query": {}, "body": {}, "path": {"service": "service"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -136,26 +133,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -224,7 +222,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services_info.py index 86e945fec..e4fdd345e 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_services_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns the state of a service. options: service: description: - - identifier of the service whose state is being queried. Required with I(state=['get']) + - identifier of the service whose state is being queried. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.appliance_services_info). + Required with I(state=['get']) type: str session_timeout: description: @@ -68,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -104,8 +103,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -123,23 +120,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown.py index 496ee87b4..2280d85fe 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -81,11 +78,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -125,17 +122,15 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "cancel": {"query": {}, "body": {}, "path": {}}, - "reboot": {"query": {}, "body": {"delay": "delay", "reason": "reason"}, "path": {}}, "poweroff": { "query": {}, "body": {"delay": "delay", "reason": "reason"}, "path": {}, }, + "reboot": {"query": {}, "body": {"delay": "delay", "reason": "reason"}, "path": {}}, + "cancel": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -150,26 +145,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -239,7 +235,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown_info.py index 020fb7940..7f85e9396 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_shutdown_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -98,8 +95,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -114,26 +109,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips.py index 9abe88739..044f9c25f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips.py @@ -3,22 +3,19 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: appliance_system_globalfips short_description: Enable/Disable Global FIPS mode for the appliance -description: Enable/Disable Global FIPS mode for the appliance. <p><b>Caution:</b> - Changing the value of this setting will reboot the Appliance. +description: 'Enable/Disable Global FIPS mode for the appliance. ' options: enabled: description: - FIPS setting state. + - If unset, the value is unchanged. type: bool session_timeout: description: @@ -75,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -93,8 +90,6 @@ PAYLOAD_FORMAT = { "update": {"query": {}, "body": {"enabled": "enabled"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -109,26 +104,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -199,7 +192,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips_info.py index b2cfe5534..e1d003553 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_globalfips_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -82,8 +79,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -98,26 +93,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage.py index f9a1f4eb7..4bfdc3734 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -71,11 +68,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -105,12 +102,10 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "resize_ex": {"query": {}, "body": {}, "path": {}}, "resize": {"query": {}, "body": {}, "path": {}}, + "resize_ex": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -125,26 +120,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -214,7 +210,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage_info.py index 2d6dccebb..9133ff372 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_storage_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_info.py index 9ec1be999..75511d136 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -95,8 +92,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -111,26 +106,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone.py index f71ce8cf4..361cc68c8 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -75,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -103,8 +100,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"name": "name"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -119,26 +114,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -205,7 +201,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone_info.py index 55036b151..59da771f7 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_time_timezone_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_version_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_version_info.py index 7a150a3f0..5646884ff 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_version_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_system_version_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -98,8 +95,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -114,26 +109,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync.py index 0593a6483..b3b04ff80 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,8 +18,8 @@ options: - HOST - NTP description: - - The C(time_sync_mode) defines time synchronization modes This parameter - is mandatory. + - The I(time_sync_mode) enumerated type defines time synchronization modes + This parameter is mandatory. required: true type: str session_timeout: @@ -80,11 +77,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -107,8 +104,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"mode": "mode"}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -123,26 +118,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -211,7 +207,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync_info.py index 3cee769a2..28e7f2445 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_timesync_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -91,8 +88,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -107,26 +102,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_update_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_update_info.py index e136a5781..109b76db0 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_update_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_update_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -93,8 +90,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -109,26 +104,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service.py index 086544913..932b8a96f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -89,11 +86,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -120,19 +117,17 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "list_details": {"query": {}, "body": {}, "path": {}}, + "start": {"query": {}, "body": {}, "path": {"service": "service"}}, + "stop": {"query": {}, "body": {}, "path": {"service": "service"}}, "update": { "query": {}, "body": {"startup_type": "spec/startup_type"}, "path": {"service": "service"}, }, - "stop": {"query": {}, "body": {}, "path": {"service": "service"}}, - "list_details": {"query": {}, "body": {}, "path": {}}, "restart": {"query": {}, "body": {}, "path": {"service": "service"}}, - "start": {"query": {}, "body": {}, "path": {"service": "service"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -147,26 +142,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -241,7 +237,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service_info.py index 1589c0711..cc73aecf1 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/appliance_vmon_service_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -70,11 +67,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -477,8 +474,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"service": "service"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -493,26 +488,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration.py index 5ba1d003f..d32e05dd5 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -101,11 +98,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -146,8 +143,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -162,26 +157,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -253,7 +246,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration_info.py index 16dd53d40..391db4c81 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_configuration_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,11 +61,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -95,8 +92,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -111,26 +106,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_library_item_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_library_item_info.py index 34e6d1e97..d4556bba8 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_library_item_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_library_item_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -73,11 +70,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -184,8 +181,6 @@ PAYLOAD_FORMAT = { "list": {"query": {"library_id": "library_id"}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -203,23 +198,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary.py index e886d9d31..8475105b7 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -110,6 +107,12 @@ options: by a remote file system, the library JSON file will be stored at {library_id}/lib.json in the remote file system path. ([''present''])' type: dict + security_policy_id: + description: + - 'Represents the security policy applied to this library. Setting the field + will make the library secure. This field is ignored in C(update)operation + if {@link #unsetSecurityPolicyId} is set to C(True).' + type: str server_guid: description: - The unique identifier of the vCenter server where the library exists. @@ -257,6 +260,14 @@ options: can be used to determine which additional services can be performed with a library. type: str + unset_security_policy_id: + description: + - 'This represents the intent of the change to {@link #securityPolicyId} in + C(update)operation. If this field is set to C(True), any security policy + applied to the library will be removed. If this field is set to C(False), + any security policy applied to library will be changed to the value specified + in {@link #securityPolicyId}, if any.' + type: bool vcenter_hostname: description: - The hostname or IP address of the vSphere vCenter @@ -307,11 +318,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -1242,7 +1253,6 @@ results: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, "update": { "query": {}, "body": { @@ -1254,10 +1264,12 @@ PAYLOAD_FORMAT = { "name": "name", "optimization_info": "optimization_info", "publish_info": "publish_info", + "security_policy_id": "security_policy_id", "server_guid": "server_guid", "storage_backings": "storage_backings", "subscription_info": "subscription_info", "type": "type", + "unset_security_policy_id": "unset_security_policy_id", "version": "version", }, "path": {"library_id": "library_id"}, @@ -1278,18 +1290,19 @@ PAYLOAD_FORMAT = { "name": "name", "optimization_info": "optimization_info", "publish_info": "publish_info", + "security_policy_id": "security_policy_id", "server_guid": "server_guid", "storage_backings": "storage_backings", "subscription_info": "subscription_info", "type": "type", + "unset_security_policy_id": "unset_security_policy_id", "version": "version", }, "path": {}, }, + "delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -1304,26 +1317,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -1359,6 +1374,7 @@ def prepare_argument_spec(): argument_spec["name"] = {"type": "str"} argument_spec["optimization_info"] = {"type": "dict"} argument_spec["publish_info"] = {"type": "dict"} + argument_spec["security_policy_id"] = {"type": "str"} argument_spec["server_guid"] = {"type": "str"} argument_spec["state"] = { "type": "str", @@ -1369,6 +1385,7 @@ def prepare_argument_spec(): argument_spec["subscription_info"] = {"type": "dict"} argument_spec["subscriptions"] = {"type": "list", "elements": "dict"} argument_spec["type"] = {"type": "str", "choices": ["LOCAL", "SUBSCRIBED"]} + argument_spec["unset_security_policy_id"] = {"type": "bool"} argument_spec["version"] = {"type": "str"} return argument_spec @@ -1407,7 +1424,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -1424,7 +1440,6 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["name"] comp_func = None diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary_info.py index c7559e03b..a01f6388f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_locallibrary_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -68,11 +65,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -323,8 +320,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -342,23 +337,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary.py index 782233286..6feffb8bc 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -114,6 +111,12 @@ options: by a remote file system, the library JSON file will be stored at {library_id}/lib.json in the remote file system path. ([''present''])' type: dict + security_policy_id: + description: + - 'Represents the security policy applied to this library. Setting the field + will make the library secure. This field is ignored in C(update)operation + if {@link #unsetSecurityPolicyId} is set to C(True).' + type: str server_guid: description: - The unique identifier of the vCenter server where the library exists. @@ -255,6 +258,14 @@ options: can be used to determine which additional services can be performed with a library. type: str + unset_security_policy_id: + description: + - 'This represents the intent of the change to {@link #securityPolicyId} in + C(update)operation. If this field is set to C(True), any security policy + applied to the library will be removed. If this field is set to C(False), + any security policy applied to library will be changed to the value specified + in {@link #securityPolicyId}, if any.' + type: bool vcenter_hostname: description: - The hostname or IP address of the vSphere vCenter @@ -305,11 +316,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -446,7 +457,7 @@ results: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "sync": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, + "evict": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, "update": { "query": {}, "body": { @@ -458,14 +469,21 @@ PAYLOAD_FORMAT = { "name": "name", "optimization_info": "optimization_info", "publish_info": "publish_info", + "security_policy_id": "security_policy_id", "server_guid": "server_guid", "storage_backings": "storage_backings", "subscription_info": "subscription_info", "type": "type", + "unset_security_policy_id": "unset_security_policy_id", "version": "version", }, "path": {"library_id": "library_id"}, }, + "probe": { + "query": {}, + "body": {"subscription_info": "subscription_info"}, + "path": {}, + }, "create": { "query": {"client_token": "client_token"}, "body": { @@ -477,25 +495,20 @@ PAYLOAD_FORMAT = { "name": "name", "optimization_info": "optimization_info", "publish_info": "publish_info", + "security_policy_id": "security_policy_id", "server_guid": "server_guid", "storage_backings": "storage_backings", "subscription_info": "subscription_info", "type": "type", + "unset_security_policy_id": "unset_security_policy_id", "version": "version", }, "path": {}, }, "delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, - "probe": { - "query": {}, - "body": {"subscription_info": "subscription_info"}, - "path": {}, - }, - "evict": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, + "sync": {"query": {}, "body": {}, "path": {"library_id": "library_id"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -510,26 +523,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -565,6 +580,7 @@ def prepare_argument_spec(): argument_spec["name"] = {"type": "str"} argument_spec["optimization_info"] = {"type": "dict"} argument_spec["publish_info"] = {"type": "dict"} + argument_spec["security_policy_id"] = {"type": "str"} argument_spec["server_guid"] = {"type": "str"} argument_spec["state"] = { "type": "str", @@ -574,6 +590,7 @@ def prepare_argument_spec(): argument_spec["storage_backings"] = {"type": "list", "elements": "dict"} argument_spec["subscription_info"] = {"type": "dict"} argument_spec["type"] = {"type": "str", "choices": ["LOCAL", "SUBSCRIBED"]} + argument_spec["unset_security_policy_id"] = {"type": "bool"} argument_spec["version"] = {"type": "str"} return argument_spec @@ -614,7 +631,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -631,7 +647,6 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["name"] comp_func = None diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary_info.py index 891b65e6f..c80607f02 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/content_subscribedlibrary_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -68,11 +65,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -113,8 +110,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -132,23 +127,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_cluster_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_cluster_info.py index e0947f099..d2b8a0ef7 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_cluster_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_cluster_info.py @@ -3,27 +3,27 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_cluster_info -short_description: Retrieves information about the cluster corresponding to {@param.name - cluster}. -description: Retrieves information about the cluster corresponding to {@param.name - cluster}. +short_description: Retrieves information about the cluster corresponding to cluster. +description: Retrieves information about the cluster corresponding to cluster. options: cluster: description: - - Identifier of the cluster. Required with I(state=['get']) + - Identifier of the cluster. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_cluster_info). + Required with I(state=['get']) type: str clusters: description: - Identifiers of clusters that can match the filter. + - If unset or empty, clusters with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_cluster_info). elements: str type: list datacenters: @@ -31,6 +31,9 @@ options: - filter_datacenters description: - Datacenters that must contain the cluster for the cluster to match the filter. + - If unset or empty, clusters in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -38,13 +41,17 @@ options: - filter_folders description: - Folders that must contain the cluster for the cluster to match the filter. + - If unset or empty, clusters in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list names: aliases: - filter_names description: - - Names that clusters must have to match the filter (see {@link Info#name}). + - Names that clusters must have to match the filter (see I(name)). + - If unset or empty, clusters with any name match the filter. elements: str type: list session_timeout: @@ -96,11 +103,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -145,8 +152,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -164,23 +169,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter.py index 638084024..dd153a1f3 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,15 +14,24 @@ description: Create a new datacenter in the vCenter inventory options: datacenter: description: - - Identifier of the datacenter to be deleted. Required with I(state=['absent']) + - Identifier of the datacenter to be deleted. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_datacenter_info). + Required with I(state=['absent']) type: str folder: description: - Datacenter folder in which the new datacenter should be created. + - This field is currently required. In the future, if this field is unset, + the system will attempt to choose a suitable folder for the datacenter; + if a folder cannot be chosen, the datacenter creation operation will fail. + - 'When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_folder_info). ' type: str force: description: - If true, delete the datacenter even if it is not empty. + - If unset a ResourceInUse error will be reported if the datacenter is not + empty. This is the equivalent of passing the value false. type: bool name: description: @@ -87,18 +93,17 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" - name: Get a list of all the datacenters register: existing_datacenters vmware.vmware_rest.vcenter_datacenter_info: - - name: Force delete the existing DC vmware.vmware_rest.vcenter_datacenter: state: absent @@ -108,7 +113,6 @@ EXAMPLES = r""" until: - _result is not failed retries: 7 - - name: Create datacenter my_dc vmware.vmware_rest.vcenter_datacenter: name: my_dc @@ -164,8 +168,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -180,26 +182,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -271,7 +275,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -288,20 +291,20 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["datacenter"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources + search_filter = "" + if "folder" not in params: return + search_filter = f"&folders={params.get('folder')}" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["datacenter"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter_info.py index 8454fe5d4..1e7d03e16 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datacenter_info.py @@ -3,29 +3,29 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_datacenter_info -short_description: Retrieves information about the datacenter corresponding to {@param.name - datacenter}. -description: Retrieves information about the datacenter corresponding to {@param.name - datacenter}. +short_description: Retrieves information about the datacenter corresponding to datacenter. +description: Retrieves information about the datacenter corresponding to datacenter. options: datacenter: description: - - Identifier of the datacenter. Required with I(state=['get']) + - Identifier of the datacenter. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_datacenter_info). + Required with I(state=['get']) type: str datacenters: aliases: - filter_datacenters description: - Identifiers of datacenters that can match the filter. + - If unset or empty, datacenters with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -34,13 +34,17 @@ options: description: - Folders that must contain the datacenters for the datacenter to match the filter. + - If unset or empty, datacenters in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list names: aliases: - filter_names description: - - Names that datacenters must have to match the filter (see {@link Info#name}). + - Names that datacenters must have to match the filter (see I(name)). + - If unset or empty, datacenters with any name match the filter. elements: str type: list session_timeout: @@ -92,11 +96,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -130,8 +134,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -149,23 +151,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datastore_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datastore_info.py index 7c388e4bc..aab450b0f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datastore_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_datastore_info.py @@ -3,18 +3,14 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_datastore_info -short_description: Retrieves information about the datastore indicated by {@param.name - datastore}. -description: Retrieves information about the datastore indicated by {@param.name datastore}. +short_description: Retrieves information about the datastore indicated by datastore. +description: Retrieves information about the datastore indicated by datastore. options: datacenters: aliases: @@ -22,16 +18,23 @@ options: description: - Datacenters that must contain the datastore for the datastore to match the filter. + - If unset or empty, datastores in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list datastore: description: - - Identifier of the datastore for which information should be retrieved. Required - with I(state=['get']) + - Identifier of the datastore for which information should be retrieved. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_datastore_info). + Required with I(state=['get']) type: str datastores: description: - Identifiers of datastores that can match the filter. + - If unset or empty, datastores with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datastore_info). elements: str type: list folders: @@ -39,13 +42,17 @@ options: - filter_folders description: - Folders that must contain the datastore for the datastore to match the filter. + - If unset or empty, datastores in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list names: aliases: - filter_names description: - - Names that datastores must have to match the filter (see {@link Info#name}). + - Names that datastores must have to match the filter (see I(name)). + - If unset or empty, datastores with any name match the filter. elements: str type: list session_timeout: @@ -60,7 +67,8 @@ options: aliases: - filter_types description: - - Types that datastores must have to match the filter (see {@link Summary#type}). + - Types that datastores must have to match the filter (see I(type)). + - If unset or empty, datastores with any type match the filter. elements: str type: list vcenter_hostname: @@ -104,11 +112,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -157,8 +165,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -176,23 +182,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_folder_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_folder_info.py index 927ab2f0b..e17bab127 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_folder_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_folder_info.py @@ -3,25 +3,25 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_folder_info short_description: Returns information about at most 1000 visible (subject to permission - checks) folders in vCenter matching the {@link FilterSpec}. + checks) folders in vCenter matching the Folder.FilterSpec. description: Returns information about at most 1000 visible (subject to permission - checks) folders in vCenter matching the {@link FilterSpec}. + checks) folders in vCenter matching the Folder.FilterSpec. options: datacenters: aliases: - filter_datacenters description: - Datacenters that must contain the folder for the folder to match the filter. + - If unset or empty, folder in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -29,18 +29,25 @@ options: - filter_folders description: - Identifiers of folders that can match the filter. + - If unset or empty, folders with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list names: aliases: - filter_names description: - - Names that folders must have to match the filter (see {@link Summary#name}). + - Names that folders must have to match the filter (see I(name)). + - If unset or empty, folders with any name match the filter. elements: str type: list parent_folders: description: - Folders that must contain the folder for the folder to match the filter. + - If unset or empty, folder in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list session_timeout: @@ -61,9 +68,9 @@ options: - NETWORK - VIRTUAL_MACHINE description: - - The C(type) defines the type of a vCenter Server folder. The type of a - folder determines what what kinds of children can be contained in the - folder. + - The I(type) enumerated type defines the type of a vCenter Server folder. + The type of a folder determines what what kinds of children can be contained + in the folder. type: str vcenter_hostname: description: @@ -106,11 +113,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -154,8 +161,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -170,26 +175,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host.py index ff00c6754..73f6e98ac 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,22 +15,29 @@ description: Add a new standalone host in the vCenter inventory. The newly conne before adding the host to its inventory. In the case where the SSL certificate cannot be verified because the Certificate Authority is not recognized or the certificate is self signed, the vCenter Server will fall back to thumbprint verification - mode as defined by {@link CreateSpec.ThumbprintVerification}. + mode as defined by Host.CreateSpec.ThumbprintVerification. options: folder: description: - Host and cluster folder in which the new standalone host should be created. + - This field is currently required. In the future, if this field is unset, + the system will attempt to choose a suitable folder for the host; if a + folder cannot be chosen, the host creation operation will fail. + - 'When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_folder_info). ' type: str force_add: description: - Whether host should be added to the vCenter Server even if it is being managed by another vCenter Server. The original vCenterServer loses connection to the host. + - If unset, forceAdd is default to false. type: bool host: description: - - Identifier of the host to be disconnected. Required with I(state=['absent', - 'connect', 'disconnect']) + - Identifier of the host to be disconnected. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_host_info). + Required with I(state=['absent', 'connect', 'disconnect']) type: str hostname: description: @@ -46,6 +50,7 @@ options: port: description: - The port of the host. + - If unset, port 443 will be used. type: int session_timeout: description: @@ -70,14 +75,16 @@ options: The thumbprint is always computed using the SHA1 hash and is the string representation of that hash in the format: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx where, ''x'' represents a hexadecimal digit.' + - This field is optional and it is only relevant when the value of I(thumbprint_verification) + is THUMBPRINT. type: str thumbprint_verification: choices: - NONE - THUMBPRINT description: - - The C(thumbprint_verification) defines the thumbprint verification schemes - for a host's SSL certificate. Required with I(state=['present']) + - The I(thumbprint_verification) enumerated type defines the thumbprint verification + schemes for a host's SSL certificate. Required with I(state=['present']) type: str user_name: description: @@ -124,11 +131,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -152,9 +159,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "delete": {"query": {}, "body": {}, "path": {"host": "host"}}, - "disconnect": {"query": {}, "body": {}, "path": {"host": "host"}}, "connect": {"query": {}, "body": {}, "path": {"host": "host"}}, + "disconnect": {"query": {}, "body": {}, "path": {"host": "host"}}, "create": { "query": {}, "body": { @@ -169,10 +175,9 @@ PAYLOAD_FORMAT = { }, "path": {}, }, + "delete": {"query": {}, "body": {}, "path": {"host": "host"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -187,26 +192,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -286,7 +293,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -328,20 +334,20 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["host"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources + search_filter = "" + if "folder" not in params: return + search_filter = f"&folders={params.get('folder')}" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["host"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host_info.py index 129ca237e..febdf6a49 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_host_info.py @@ -3,29 +3,31 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_host_info short_description: Returns information about at most 2500 visible (subject to permission - checks) hosts in vCenter matching the {@link FilterSpec}. + checks) hosts in vCenter matching the Host.FilterSpec. description: Returns information about at most 2500 visible (subject to permission - checks) hosts in vCenter matching the {@link FilterSpec}. + checks) hosts in vCenter matching the Host.FilterSpec. options: clusters: description: - Clusters that must contain the hosts for the hosts to match the filter. + - If unset or empty, hosts in any cluster and hosts that are not in a cluster + match the filter. If this field is not empty and I(standalone) is true, + no hosts will match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_cluster_info). elements: str type: list connection_states: description: - - Connection states that a host must be in to match the filter (see {@link - Summary#connectionState}. + - Connection states that a host must be in to match the filter (see I() + - If unset or empty, hosts in any connection state match the filter. elements: str type: list datacenters: @@ -33,6 +35,9 @@ options: - filter_datacenters description: - Datacenters that must contain the hosts for the hosts to match the filter. + - If unset or empty, hosts in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -40,18 +45,25 @@ options: - filter_folders description: - Folders that must contain the hosts for the hosts to match the filter. + - If unset or empty, hosts in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list hosts: description: - Identifiers of hosts that can match the filter. + - If unset or empty, hosts with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_host_info). elements: str type: list names: aliases: - filter_names description: - - Names that hosts must have to match the filter (see {@link Summary#name}). + - Names that hosts must have to match the filter (see I(name)). + - If unset or empty, hosts with any name match the filter. elements: str type: list session_timeout: @@ -67,6 +79,9 @@ options: - If true, only hosts that are not part of a cluster can match the filter, and if false, only hosts that are are part of a cluster can match the filter. + - If unset Hosts can match filter independent of whether they are part of + a cluster or not. If this field is true and I(clusters) os not empty, + no hosts will match the filter. type: bool vcenter_hostname: description: @@ -109,11 +124,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -152,8 +167,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -171,23 +184,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_network_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_network_info.py index cd1c83337..66b24cc1c 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_network_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_network_info.py @@ -3,25 +3,25 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_network_info short_description: Returns information about at most 1000 visible (subject to permission - checks) networks in vCenter matching the {@link FilterSpec}. + checks) networks in vCenter matching the Network.FilterSpec. description: Returns information about at most 1000 visible (subject to permission - checks) networks in vCenter matching the {@link FilterSpec}. + checks) networks in vCenter matching the Network.FilterSpec. options: datacenters: aliases: - filter_datacenters description: - Datacenters that must contain the network for the network to match the filter. + - If unset or empty, networks in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -29,18 +29,25 @@ options: - filter_folders description: - Folders that must contain the network for the network to match the filter. + - If unset or empty, networks in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list names: aliases: - filter_names description: - - Names that networks must have to match the filter (see {@link Summary#name}). + - Names that networks must have to match the filter (see I(name)). + - If unset or empty, networks with any name match the filter. elements: str type: list networks: description: - Identifiers of networks that can match the filter. + - If unset or empty, networks with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_network_info). elements: str type: list session_timeout: @@ -55,7 +62,8 @@ options: aliases: - filter_types description: - - Types that networks must have to match the filter (see {@link Summary#type}). + - Types that networks must have to match the filter (see I(type)). + - If unset, networks with any type match the filter. elements: str type: list vcenter_hostname: @@ -99,11 +107,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -150,8 +158,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -166,26 +172,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_ovf_libraryitem.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_ovf_libraryitem.py index 261b9443f..06c4b8722 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_ovf_libraryitem.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_ovf_libraryitem.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -181,11 +178,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -281,6 +278,11 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "deploy": { + "query": {"client_token": "client_token"}, + "body": {"deployment_spec": "deployment_spec", "target": "target"}, + "path": {"ovf_library_item_id": "ovf_library_item_id"}, + }, "filter": { "query": {}, "body": {"target": "target"}, @@ -291,15 +293,8 @@ PAYLOAD_FORMAT = { "body": {"create_spec": "create_spec", "source": "source", "target": "target"}, "path": {}, }, - "deploy": { - "query": {"client_token": "client_token"}, - "body": {"deployment_spec": "deployment_spec", "target": "target"}, - "path": {"ovf_library_item_id": "ovf_library_item_id"}, - }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -314,26 +309,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -409,7 +406,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -426,7 +422,6 @@ async def entry_point(module, session): async def _create(params, session): - library_id = ( params["target"]["library_id"] if "library_id" in params["target"] else None ) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool.py index c0e9cabcf..5e5d77d68 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,81 +15,101 @@ options: cpu_allocation: description: - Resource allocation for CPU. + - if unset or empty, the CPU allocation of the resource pool will not be changed. - 'Valid attributes are:' - ' - C(reservation) (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, - and MHz for CPU. ([''present''])' + and MHz for CPU.' + - If unset or empty, I(reservation) will be set to 0. (['present']) - ' - C(expandable_reservation) (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation - is called a fixed reservation. ([''present''])' + is called a fixed reservation.' + - If unset or empty, I(expandable_reservation) will be set to true. (['present']) - ' - C(limit) (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, - and MHz for CPU. ([''present''])' + and MHz for CPU.' + - If unset or empty, I(limit) will be set to -1. (['present']) - ' - C(shares) (dict): Shares are used in case of resource contention. ([''present''])' - ' - Accepted keys:' - - ' - level (string): The C(level) defines the possible values for the + - ' - level (string): This option defines the possible values for the allocation level.' - 'Accepted value for this field:' - ' - C(CUSTOM)' - ' - C(HIGH)' - ' - C(LOW)' - ' - C(NORMAL)' - - ' - shares (integer): When {@link #level} is set to CUSTOM, it is the - number of shares allocated. Otherwise, this value is ignored. There is - no unit for this value. It is a relative measure based on the settings - for other resource pools.' + - ' - shares (integer): When I(level) is set to CUSTOM, it is the number + of shares allocated. Otherwise, this value is ignored. ' + - ' There is no unit for this value. It is a relative measure based on the + settings for other resource pools.' + - '' + - This field is optional and it is only relevant when the value of I(level) + is CUSTOM. type: dict memory_allocation: description: - Resource allocation for CPU. + - if unset or empty, the CPU allocation of the resource pool will not be changed. - 'Valid attributes are:' - ' - C(reservation) (int): Amount of resource that is guaranteed available to a resource pool. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB fo memory, - and MHz for CPU. ([''present''])' + and MHz for CPU.' + - If unset or empty, I(reservation) will be set to 0. (['present']) - ' - C(expandable_reservation) (bool): In a resource pool with an expandable reservation, the reservation can grow beyond the specified value, if the parent resource pool has unreserved resources. A non-expandable reservation - is called a fixed reservation. ([''present''])' + is called a fixed reservation.' + - If unset or empty, I(expandable_reservation) will be set to true. (['present']) - ' - C(limit) (int): The utilization of a resource pool will not exceed this limit, even if there are available resources. This is typically used to ensure a consistent performance of resource pools independent of available resources. If set to -1, then there is no fixed limit on resource usage (only bounded by available resources and shares). Units are MB for memory, - and MHz for CPU. ([''present''])' + and MHz for CPU.' + - If unset or empty, I(limit) will be set to -1. (['present']) - ' - C(shares) (dict): Shares are used in case of resource contention. ([''present''])' - ' - Accepted keys:' - - ' - level (string): The C(level) defines the possible values for the + - ' - level (string): This option defines the possible values for the allocation level.' - 'Accepted value for this field:' - ' - C(CUSTOM)' - ' - C(HIGH)' - ' - C(LOW)' - ' - C(NORMAL)' - - ' - shares (integer): When {@link #level} is set to CUSTOM, it is the - number of shares allocated. Otherwise, this value is ignored. There is - no unit for this value. It is a relative measure based on the settings - for other resource pools.' + - ' - shares (integer): When I(level) is set to CUSTOM, it is the number + of shares allocated. Otherwise, this value is ignored. ' + - ' There is no unit for this value. It is a relative measure based on the + settings for other resource pools.' + - '' + - This field is optional and it is only relevant when the value of I(level) + is CUSTOM. type: dict name: description: - - Name of the resource pool. Required with I(state=['present']) + - Name of the resource pool. + - if unset or empty, the name of the resource pool will not be changed. Required + with I(state=['present']) type: str parent: description: - - Parent of the created resource pool. Required with I(state=['present']) + - Parent of the created resource pool. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_resourcepool_info). + Required with I(state=['present']) type: str resource_pool: description: - - Identifier of the resource pool to be deleted. Required with I(state=['absent', - 'present']) + - Identifier of the resource pool to be deleted. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_resourcepool_info). + Required with I(state=['absent', 'present']) type: str session_timeout: description: @@ -150,18 +167,17 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.3.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" - name: Get the existing resource pools vmware.vmware_rest.vcenter_resourcepool_info: register: resource_pools - - name: Create an Ad hoc resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool @@ -179,18 +195,15 @@ EXAMPLES = r""" shares: level: NORMAL register: my_resource_pool - - name: Remove a resource pool vmware.vmware_rest.vcenter_resourcepool: resource_pool: '{{ my_resource_pool.id }}' state: absent - - name: Create a generic resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool parent: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Modify a resource pool vmware.vmware_rest.vcenter_resourcepool: resource_pool: '{{ my_resource_pool.id }}' @@ -238,7 +251,6 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "delete": {"query": {}, "body": {}, "path": {"resource_pool": "resource_pool"}}, "update": { "query": {}, "body": { @@ -258,10 +270,9 @@ PAYLOAD_FORMAT = { }, "path": {}, }, + "delete": {"query": {}, "body": {}, "path": {"resource_pool": "resource_pool"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -276,26 +287,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -368,7 +381,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -385,20 +397,16 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["resource_pool"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["resource_pool"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool_info.py index 84a4f6fc3..a4047e151 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_resourcepool_info.py @@ -3,24 +3,22 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_resourcepool_info -short_description: Retrieves information about the resource pool indicated by {@param.name - resourcePool}. -description: Retrieves information about the resource pool indicated by {@param.name - resourcePool}. +short_description: Retrieves information about the resource pool indicated by resourcePool. +description: Retrieves information about the resource pool indicated by resourcePool. options: clusters: description: - Clusters that must contain the resource pool for the resource pool to match the filter. + - If unset or empty, resource pools in any cluster match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_cluster_info). elements: str type: list datacenters: @@ -29,35 +27,49 @@ options: description: - Datacenters that must contain the resource pool for the resource pool to match the filter. + - If unset or empty, resource pools in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list hosts: description: - Hosts that must contain the resource pool for the resource pool to match the filter. + - If unset or empty, resource pools in any host match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_host_info). elements: str type: list names: aliases: - filter_names description: - - Names that resource pools must have to match the filter (see {@link Info#name}). + - Names that resource pools must have to match the filter (see I(name)). + - If unset or empty, resource pools with any name match the filter. elements: str type: list parent_resource_pools: description: - Resource pools that must contain the resource pool for the resource pool to match the filter. + - If unset or empty, resource pools in any resource pool match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_resourcepool_info). elements: str type: list resource_pool: description: - Identifier of the resource pool for which information should be retrieved. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_resourcepool_info). Required with I(state=['get']) type: str resource_pools: description: - Identifiers of resource pools that can match the filter. + - If unset or empty, resource pools with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_resourcepool_info). elements: str type: list session_timeout: @@ -109,29 +121,26 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.3.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" - name: Get the existing resource pools vmware.vmware_rest.vcenter_resourcepool_info: register: resource_pools - - name: Get the existing resource pool vmware.vmware_rest.vcenter_resourcepool_info: resource_pool: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Create a generic resource pool vmware.vmware_rest.vcenter_resourcepool: name: my_resource_pool parent: '{{ resource_pools.value[0].resource_pool }}' register: my_resource_pool - - name: Read details from a specific resource pool vmware.vmware_rest.vcenter_resourcepool_info: resource_pool: '{{ my_resource_pool.id }}' @@ -183,8 +192,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -202,23 +209,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_storage_policies_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_storage_policies_info.py index ad36661dd..eb9ccdee6 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_storage_policies_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_storage_policies_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,6 +18,9 @@ options: policies: description: - Identifiers of storage policies that can match the filter. + - If unset or empty, storage policies with any identifiers match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_storage_policies). elements: str type: list session_timeout: @@ -72,11 +72,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.3.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -135,8 +135,6 @@ PAYLOAD_FORMAT = { "list": {"query": {"policies": "policies"}, "body": {}, "path": {}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -151,26 +149,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm.py index c71e80be0..af858bac2 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -19,43 +16,51 @@ options: description: - 128-bit SMBIOS UUID of a virtual machine represented as a hexadecimal string in "12345678-abcd-1234-cdef-123456789abc" format. + - If unset, will be generated. type: str boot: description: - Boot configuration. + - If unset, guest-specific default values will be used. - 'Valid attributes are:' - - ' - C(type) (str): The C(type) defines the valid firmware types for a virtual + - ' - C(type) (str): This option defines the valid firmware types for a virtual machine. ([''present''])' - ' - Accepted values:' - ' - BIOS' - ' - EFI' - ' - C(efi_legacy_boot) (bool): Flag indicating whether to use EFI legacy - boot mode. ([''present''])' - - ' - C(network_protocol) (str): The C(network_protocol) defines the valid - network boot protocols supported when booting a virtual machine with {@link - Type#EFI} firmware over the network. ([''present''])' + boot mode.' + - If unset, defaults to value that is recommended for the guest OS and is + supported for the virtual hardware version. (['present']) + - ' - C(network_protocol) (str): This option defines the valid network boot + protocols supported when booting a virtual machine with EFI firmware over + the network. ([''present''])' - ' - Accepted values:' - ' - IPV4' - ' - IPV6' - ' - C(delay) (int): Delay in milliseconds before beginning the firmware - boot process when the virtual machine is powered on. This delay may be + boot process when the virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine - console and enter BIOS setup mode. ([''present''])' + console and enter BIOS setup mode.' + - If unset, default value is 0. (['present']) - ' - C(retry) (bool): Flag indicating whether the virtual machine should - automatically retry the boot process after a failure. ([''present''])' + automatically retry the boot process after a failure.' + - If unset, default value is false. (['present']) - ' - C(retry_delay) (int): Delay in milliseconds before retrying the boot - process after a failure; applicable only when {@link Info#retry} is true. - ([''present''])' + process after a failure; applicable only when I(retry) is true.' + - If unset, default value is 10000. (['present']) - ' - C(enter_setup_mode) (bool): Flag indicating whether the firmware boot process should automatically enter setup mode the next time the virtual - machine boots. Note that this flag will automatically be reset to false - once the virtual machine enters setup mode. ([''present''])' + machine boots. Note that this flag will automatically be reset to false + once the virtual machine enters setup mode.' + - If unset, the value is unchanged. (['present']) type: dict boot_devices: description: - Boot device configuration. + - If unset, a server-specific boot sequence will be used. - 'Valid attributes are:' - - ' - C(type) (str): The C(type) defines the valid device types that may be + - ' - C(type) (str): This option defines the valid device types that may be used as bootable devices. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' @@ -68,168 +73,254 @@ options: cdroms: description: - List of CD-ROMs. + - If unset, no CD-ROM devices will be created. - 'Valid attributes are:' - - ' - C(type) (str): The C(host_bus_adapter_type) defines the valid types - of host bus adapters that may be used for attaching a Cdrom to a virtual - machine. ([''present''])' + - ' - C(type) (str): This option defines the valid types of host bus adapters + that may be used for attaching a Cdrom to a virtual machine. ([''present''])' - ' - Accepted values:' - ' - IDE' - ' - SATA' - - ' - C(ide) (dict): Address for attaching the device to a virtual IDE adapter. - ([''present''])' + - ' - C(ide) (dict): Address for attaching the device to a virtual IDE adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) - ' - Accepted keys:' - ' - primary (boolean): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.' + - If unset, the server will choose a adapter with an available connection. + If no IDE connections are available, the request will be rejected. - ' - master (boolean): Flag specifying whether the device should be the master or slave device on the IDE adapter.' - - ' - C(sata) (dict): Address for attaching the device to a virtual SATA adapter. - ([''present''])' + - If unset, the server will choose an available connection type. If no IDE + connections are available, the request will be rejected. + - ' - C(sata) (dict): Address for attaching the device to a virtual SATA adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) - ' - Accepted keys:' - ' - bus (integer): Bus number of the adapter to which the device should be attached.' - ' - unit (integer): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. - ' - C(backing) (dict): Physical resource backing for the virtual CD-ROM - device. ([''present''])' + device.' + - If unset, defaults to automatic detection of a suitable host device. (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual CD-ROM device.' + - ' - type (string): This option defines the valid backing types for a + virtual CD-ROM device.' - 'Accepted value for this field:' - ' - C(CLIENT_DEVICE)' - ' - C(HOST_DEVICE)' - ' - C(ISO_FILE)' - ' - iso_file (string): Path of the image file that should be used as the virtual CD-ROM device backing.' + - This field is optional and it is only relevant when the value of I(type) + is ISO_FILE. - ' - host_device (string): Name of the device that should be used as the virtual CD-ROM device backing.' - - ' - device_access_type (string): The C(device_access_type) defines the - valid device access types for a physical device packing of a virtual CD-ROM - device.' + - If unset, the virtual CD-ROM device will be configured to automatically + detect a suitable host device. + - ' - device_access_type (string): This option defines the valid device + access types for a physical device packing of a virtual CD-ROM device.' - 'Accepted value for this field:' - ' - C(EMULATION)' - ' - C(PASSTHRU)' - ' - C(PASSTHRU_EXCLUSIVE)' - ' - C(start_connected) (bool): Flag indicating whether the virtual device - should be connected whenever the virtual machine is powered on. ([''present''])' + should be connected whenever the virtual machine is powered on.' + - Defaults to false if unset. (['present']) - ' - C(allow_guest_control) (bool): Flag indicating whether the guest can - connect and disconnect the device. ([''present''])' + connect and disconnect the device.' + - Defaults to false if unset. (['present']) elements: dict type: list cpu: description: - CPU configuration. + - If unset, guest-specific default values will be used. - 'Valid attributes are:' - - ' - C(count) (int): New number of CPU cores. The number of CPU cores in - the virtual machine must be a multiple of the number of cores per socket. - The supported range of CPU counts is constrained by the configured guest - operating system and virtual hardware version of the virtual machine. - If the virtual machine is running, the number of CPU cores may only be - increased if {@link Info#hotAddEnabled} is true, and may only be decreased - if {@link Info#hotRemoveEnabled} is true. ([''present''])' - - ' - C(cores_per_socket) (int): New number of CPU cores per socket. The - number of CPU cores in the virtual machine must be a multiple of the number - of cores per socket. ([''present''])' + - ' - C(count) (int): New number of CPU cores. The number of CPU cores in + the virtual machine must be a multiple of the number of cores per socket. ' + - ' The supported range of CPU counts is constrained by the configured guest + operating system and virtual hardware version of the virtual machine. ' + - '' + - ' If the virtual machine is running, the number of CPU cores may only be + increased if I(hot_add_enabled) is true, and may only be decreased if + I(hot_remove_enabled) is true.' + - '' + - If unset, the value is unchanged. (['present']) + - ' - C(cores_per_socket) (int): New number of CPU cores per socket. The number + of CPU cores in the virtual machine must be a multiple of the number of + cores per socket.' + - If unset, the value is unchanged. (['present']) - ' - C(hot_add_enabled) (bool): Flag indicating whether adding CPUs while - the virtual machine is running is enabled. This field may only be modified - if the virtual machine is powered off. ([''present''])' + the virtual machine is running is enabled. ' + - ' This field may only be modified if the virtual machine is powered off.' + - '' + - If unset, the value is unchanged. (['present']) - ' - C(hot_remove_enabled) (bool): Flag indicating whether removing CPUs - while the virtual machine is running is enabled. This field may only be - modified if the virtual machine is powered off. ([''present''])' + while the virtual machine is running is enabled. ' + - ' This field may only be modified if the virtual machine is powered off.' + - '' + - If unset, the value is unchanged. (['present']) type: dict datastore: description: - Identifier of the datastore on which the virtual machine's configuration state is stored. + - If unset, I(path) must also be unset and I(datastore_path) must be set. + - 'When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_datastore_info). ' type: str datastore_path: description: - Datastore path for the virtual machine's configuration file in the format - "[datastore name] path". For example "[storage1] Test-VM/Test-VM.vmx". + "[datastore name] path". For example "[storage1] Test-VM/Test-VM.vmx". + - If unset, both I(datastore) and I(path) must be set. type: str disconnect_all_nics: description: - Indicates whether all NICs on the destination virtual machine should be disconnected from the newtwork + - If unset, connection status of all NICs on the destination virtual machine + will be the same as on the source virtual machine. type: bool disks: description: - Individual disk relocation map. + - If unset, all disks will migrate to the datastore specified in the I(datastore) + field of I() + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). ' - 'Valid attributes are:' - - ' - C(type) (str): The C(host_bus_adapter_type) defines the valid types - of host bus adapters that may be used for attaching a virtual storage - device to a virtual machine. ([''present''])' + - ' - C(type) (str): This option defines the valid types of host bus adapters + that may be used for attaching a virtual storage device to a virtual machine. + ([''present''])' - ' - Accepted values:' - ' - IDE' + - ' - NVME' - ' - SATA' - ' - SCSI' - - ' - C(ide) (dict): Address for attaching the device to a virtual IDE adapter. - ([''present''])' + - ' - C(ide) (dict): Address for attaching the device to a virtual IDE adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) - ' - Accepted keys:' - ' - primary (boolean): Flag specifying whether the device should be attached to the primary or secondary IDE adapter of the virtual machine.' + - If unset, the server will choose a adapter with an available connection. + If no IDE connections are available, the request will be rejected. - ' - master (boolean): Flag specifying whether the device should be the master or slave device on the IDE adapter.' - - ' - C(scsi) (dict): Address for attaching the device to a virtual SCSI adapter. - ([''present''])' + - If unset, the server will choose an available connection type. If no IDE + connections are available, the request will be rejected. + - ' - C(scsi) (dict): Address for attaching the device to a virtual SCSI adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) - ' - Accepted keys:' - ' - bus (integer): Bus number of the adapter to which the device should be attached.' - ' - unit (integer): Unit number of the device.' - - ' - C(sata) (dict): Address for attaching the device to a virtual SATA adapter. - ([''present''])' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. + - ' - C(sata) (dict): Address for attaching the device to a virtual SATA adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) + - ' - Accepted keys:' + - ' - bus (integer): Bus number of the adapter to which the device should + be attached.' + - ' - unit (integer): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. + - ' - C(nvme) (dict): Address for attaching the device to a virtual NVMe adapter.' + - If unset, the server will choose an available address; if none is available, + the request will fail. (['present']) - ' - Accepted keys:' - ' - bus (integer): Bus number of the adapter to which the device should be attached.' - ' - unit (integer): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. - ' - C(backing) (dict): Existing physical resource backing for the virtual - disk. Exactly one of C(#backing) or C(#new_vmdk) must be specified. ([''present''])' + disk. Exactly one of I(backing) or I(new_vmdk) must be specified.' + - If unset, the virtual disk will not be connected to an existing backing. + (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual disk.' + - ' - type (string): This option defines the valid backing types for a + virtual disk.' - 'Accepted value for this field:' - ' - C(VMDK_FILE)' - ' - vmdk_file (string): Path of the VMDK file backing the virtual disk.' + - This field is optional and it is only relevant when the value of I(type) + is VMDK_FILE. - ' - C(new_vmdk) (dict): Specification for creating a new VMDK backing for - the virtual disk. Exactly one of C(#backing) or C(#new_vmdk) must be - specified. ([''present''])' + the virtual disk. Exactly one of I(backing) or I(new_vmdk) must be specified.' + - If unset, a new VMDK backing will not be created. (['present']) - ' - Accepted keys:' - - ' - name (string): Base name of the VMDK file. The name should not - include the ''.vmdk'' file extension.' + - ' - name (string): Base name of the VMDK file. The name should not include + the ''.vmdk'' file extension.' + - If unset, a name (derived from the name of the virtual machine) will be + chosen by the server. - ' - capacity (integer): Capacity of the virtual disk backing in bytes.' - - ' - storage_policy (object): The C(storage_policy_spec) {@term structure} - contains information about the storage policy that is to be associated - the with VMDK file.' + - If unset, defaults to a guest-specific capacity. + - ' - storage_policy (object): The I(storage_policy_spec) structure contains + information about the storage policy that is to be associated the with + VMDK file.' + - 'If unset the default storage policy of the target datastore (if applicable) + is applied. Currently a default storage policy is only supported by object + based datastores : VVol & vSAN. For non- object datastores, if unset then + no storage policy would be associated with the VMDK file.' elements: dict type: list disks_to_remove: description: - Set of Disks to Remove. + - If unset, all disks will be copied. If the same identifier is in I(disks_to_update) + InvalidArgument fault will be returned. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). elements: str type: list disks_to_update: description: - Map of Disks to Update. + - If unset, all disks will copied to the datastore specified in the I(datastore) + field of I() If the same identifier is in I(disks_to_remove) InvalidArgument + fault will be thrown. + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). ' type: dict floppies: description: - List of floppy drives. + - If unset, no floppy drives will be created. - 'Valid attributes are:' - ' - C(backing) (dict): Physical resource backing for the virtual floppy - drive. ([''present''])' + drive.' + - If unset, defaults to automatic detection of a suitable host device. (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual floppy drive.' + - ' - type (string): This option defines the valid backing types for a + virtual floppy drive.' - 'Accepted value for this field:' - ' - C(CLIENT_DEVICE)' - ' - C(HOST_DEVICE)' - ' - C(IMAGE_FILE)' - ' - image_file (string): Path of the image file that should be used as the virtual floppy drive backing.' + - This field is optional and it is only relevant when the value of I(type) + is IMAGE_FILE. - ' - host_device (string): Name of the device that should be used as the virtual floppy drive backing.' + - If unset, the virtual floppy drive will be configured to automatically detect + a suitable host device. - ' - C(start_connected) (bool): Flag indicating whether the virtual device - should be connected whenever the virtual machine is powered on. ([''present''])' + should be connected whenever the virtual machine is powered on.' + - Defaults to false if unset. (['present']) - ' - C(allow_guest_control) (bool): Flag indicating whether the guest can - connect and disconnect the device. ([''present''])' + connect and disconnect the device.' + - Defaults to false if unset. (['present']) elements: dict type: list guest_OS: @@ -416,15 +507,17 @@ options: - WIN_XP_PRO - WIN_XP_PRO_64 description: - - The C(guest_o_s) defines the valid guest operating system types used for - configuring a virtual machine. Required with I(state=['present']) + - The GuestOS enumerated type defines the valid guest operating system types + used for configuring a virtual machine. Required with I(state=['present']) type: str guest_customization_spec: description: - Guest customization spec to apply to the virtual machine after the virtual machine is deployed. + - If unset, the guest operating system is not customized after clone. - 'Valid attributes are:' - - ' - C(name) (str): Name of the customization specification. ([''clone''])' + - ' - C(name) (str): Name of the customization specification.' + - If unset, no guest customization is performed. (['clone']) type: dict hardware_version: choices: @@ -445,38 +538,48 @@ options: - VMX_18 - VMX_19 description: - - The C(version) defines the valid virtual hardware versions for a virtual - machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine - hardware versions (1003746)). + - The I(version) enumerated type defines the valid virtual hardware versions + for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual + machine hardware versions (1003746)). type: str memory: description: - Memory configuration. + - If unset, guest-specific default values will be used. - 'Valid attributes are:' - - ' - C(size_MiB) (int): New memory size in mebibytes. The supported range - of memory sizes is constrained by the configured guest operating system - and virtual hardware version of the virtual machine. If the virtual machine - is running, this value may only be changed if {@link Info#hotAddEnabled} + - ' - C(size_MiB) (int): New memory size in mebibytes. ' + - ' The supported range of memory sizes is constrained by the configured guest + operating system and virtual hardware version of the virtual machine. ' + - '' + - ' If the virtual machine is running, this value may only be changed if I(hot_add_enabled) is true, and the new memory size must satisfy the constraints specified - by {@link Info#hotAddIncrementSizeMiB} and {@link Info#hotAddLimitMiB}. - ([''present''])' + by I(hot_add_increment_size_mib) and I()' + - '' + - If unset, the value is unchanged. (['present']) - ' - C(hot_add_enabled) (bool): Flag indicating whether adding memory while - the virtual machine is running should be enabled. Some guest operating - systems may consume more resources or perform less efficiently when they - run on hardware that supports adding memory while the machine is running. - This field may only be modified if the virtual machine is not powered - on. ([''present''])' + the virtual machine is running should be enabled. ' + - ' Some guest operating systems may consume more resources or perform less + efficiently when they run on hardware that supports adding memory while + the machine is running. ' + - '' + - ' This field may only be modified if the virtual machine is not powered + on.' + - '' + - If unset, the value is unchanged. (['present']) type: dict name: description: - - Name of the new virtual machine. + - Virtual machine name. + - If unset, the display name from the virtual machine's configuration file + will be used. type: str nics: description: - List of Ethernet adapters. + - If unset, no Ethernet adapters will be created. - 'Valid attributes are:' - - ' - C(type) (str): The C(emulation_type) defines the valid emulation types - for a virtual Ethernet adapter. ([''present''])' + - ' - C(type) (str): This option defines the valid emulation types for a virtual + Ethernet adapter. ([''present''])' - ' - Accepted values:' - ' - E1000' - ' - E1000E' @@ -485,25 +588,31 @@ options: - ' - VMXNET2' - ' - VMXNET3' - ' - C(upt_compatibility_enabled) (bool): Flag indicating whether Universal - Pass-Through (UPT) compatibility is enabled on this virtual Ethernet adapter. - ([''present''])' - - ' - C(mac_type) (str): The C(mac_address_type) defines the valid MAC address - origins for a virtual Ethernet adapter. ([''present''])' + Pass-Through (UPT) compatibility is enabled on this virtual Ethernet adapter.' + - If unset, defaults to false. (['present']) + - ' - C(mac_type) (str): This option defines the valid MAC address origins + for a virtual Ethernet adapter. ([''present''])' - ' - Accepted values:' - ' - ASSIGNED' - ' - GENERATED' - ' - MANUAL' - - ' - C(mac_address) (str): MAC address. ([''present''])' + - ' - C(mac_address) (str): MAC address.' + - Workaround for PR1459647 (['present']) - ' - C(pci_slot_number) (int): Address of the virtual Ethernet adapter on - the PCI bus. If the PCI address is invalid, the server will change when - it the VM is started or as the device is hot added. ([''present''])' + the PCI bus. If the PCI address is invalid, the server will change when + it the VM is started or as the device is hot added.' + - If unset, the server will choose an available address when the virtual machine + is powered on. (['present']) - ' - C(wake_on_lan_enabled) (bool): Flag indicating whether wake-on-LAN is - enabled on this virtual Ethernet adapter. ([''present''])' + enabled on this virtual Ethernet adapter.' + - Defaults to false if unset. (['present']) - ' - C(backing) (dict): Physical resource backing for the virtual Ethernet - adapter. ([''present''])' + adapter.' + - If unset, the system may try to find an appropriate backing. If one is not + found, the request will fail. (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual Ethernet adapter.' + - ' - type (string): This option defines the valid backing types for a + virtual Ethernet adapter.' - 'Accepted value for this field:' - ' - C(DISTRIBUTED_PORTGROUP)' - ' - C(HOST_DEVICE)' @@ -511,115 +620,208 @@ options: - ' - C(STANDARD_PORTGROUP)' - ' - network (string): Identifier of the network that backs the virtual Ethernet adapter.' + - This field is optional and it is only relevant when the value of I(type) + is one of STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, or OPAQUE_NETWORK. + - 'When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_network_info). ' - ' - distributed_port (string): Key of the distributed virtual port that - backs the virtual Ethernet adapter. Depending on the type of the Portgroup, + backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered - on and the Ethernet adapter is connected. This field cannot be specified + on and the Ethernet adapter is connected. This field cannot be specified as no free ports exist before use.' + - May be used to specify a port when the network specified on the I(network) + field is a static or early binding distributed portgroup. If unset, the + port will be automatically assigned to the Ethernet adapter based on the + policy embodied by the portgroup type. - ' - C(start_connected) (bool): Flag indicating whether the virtual device - should be connected whenever the virtual machine is powered on. ([''present''])' + should be connected whenever the virtual machine is powered on.' + - Defaults to false if unset. (['present']) - ' - C(allow_guest_control) (bool): Flag indicating whether the guest can - connect and disconnect the device. ([''present''])' + connect and disconnect the device.' + - Defaults to false if unset. (['present']) elements: dict type: list nics_to_update: description: - Map of NICs to update. + - If unset, no NICs will be updated. + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_ethernet). ' type: dict + nvme_adapters: + description: + - List of NVMe adapters. + - If unset, any adapters necessary to connect the virtual machine's storage + devices will be created; this includes any devices that explicitly specify + a NVMe host bus adapter, as well as any devices that do not specify a + host bus adapter if the guest's preferred adapter type is NVMe. + - 'Valid attributes are:' + - ' - C(bus) (int): NVMe bus number.' + - If unset, the server will choose an available bus number; if none is available, + the request will fail. (['present']) + - ' - C(pci_slot_number) (int): Address of the NVMe adapter on the PCI bus.' + - If unset, the server will choose an available address when the virtual machine + is powered on. (['present']) + elements: dict + type: list parallel_ports: description: - List of parallel ports. + - If unset, no parallel ports will be created. - 'Valid attributes are:' - ' - C(backing) (dict): Physical resource backing for the virtual parallel - port. ([''present''])' + port.' + - If unset, defaults to automatic detection of a suitable host device. (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual parallel port.' + - ' - type (string): This option defines the valid backing types for a + virtual parallel port.' - 'Accepted value for this field:' - ' - C(FILE)' - ' - C(HOST_DEVICE)' - ' - file (string): Path of the file that should be used as the virtual parallel port backing.' + - This field is optional and it is only relevant when the value of I(type) + is FILE. - ' - host_device (string): Name of the device that should be used as the virtual parallel port backing.' + - If unset, the virtual parallel port will be configured to automatically + detect a suitable host device. - ' - C(start_connected) (bool): Flag indicating whether the virtual device - should be connected whenever the virtual machine is powered on. ([''present''])' + should be connected whenever the virtual machine is powered on.' + - Defaults to false if unset. (['present']) - ' - C(allow_guest_control) (bool): Flag indicating whether the guest can - connect and disconnect the device. ([''present''])' + connect and disconnect the device.' + - Defaults to false if unset. (['present']) elements: dict type: list parallel_ports_to_update: description: - Map of parallel ports to Update. + - If unset, no parallel ports will be updated. + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_parallel). ' type: dict path: description: - 'Path to the virtual machine''s configuration file on the datastore corresponding to {@link #datastore).' + - If unset, I(datastore) must also be unset and I(datastore_path) must be + set. type: str placement: description: - Virtual machine placement information. + - If this field is unset, the system will use the values from the source virtual + machine. If specified, each field will be used for placement. If the fields + result in disjoint placement the operation will fail. If the fields along + with the other existing placement of the virtual machine result in disjoint + placement the operation will fail. - 'Valid attributes are:' - ' - C(folder) (str): Virtual machine folder into which the virtual machine - should be placed. ([''clone'', ''instant_clone'', ''present'', ''register'', - ''relocate''])' + should be placed.' + - If this field is unset, the virtual machine will stay in the current folder. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_folder_info). + (['clone', 'instant_clone', 'present', 'register', 'relocate']) - ' - C(resource_pool) (str): Resource pool into which the virtual machine - should be placed. ([''clone'', ''instant_clone'', ''present'', ''register'', - ''relocate''])' - - ' - C(host) (str): Host onto which the virtual machine should be placed. - If C(#host) and C(#resource_pool) are both specified, C(#resource_pool) - must belong to C(#host). If C(#host) and C(#cluster) are both specified, - C(#host) must be a member of C(#cluster). ([''clone'', ''present'', ''register'', - ''relocate''])' - - ' - C(cluster) (str): Cluster into which the virtual machine should be placed. - If C(#cluster) and C(#resource_pool) are both specified, C(#resource_pool) - must belong to C(#cluster). If C(#cluster) and C(#host) are both specified, - C(#host) must be a member of C(#cluster). ([''clone'', ''present'', ''register'', - ''relocate''])' + should be placed.' + - If this field is unset, the virtual machine will stay in the current resource + pool. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_resourcepool_info). + (['clone', 'instant_clone', 'present', 'register', 'relocate']) + - ' - C(host) (str): Host onto which the virtual machine should be placed. ' + - ' If I(host) and I(resource_pool) are both specified, I(resource_pool) must + belong to I(host). ' + - '' + - ' If I(host) and I(cluster) are both specified, I(host) must be a member + of I(cluster).' + - '' + - If this field is unset, if I(resource_pool) is unset, the virtual machine + will remain on the current host. if I(resource_pool) is set, and the target + is a standalone host, the host is used. if I(resource_pool) is set, and + the target is a DRS cluster, a host will be picked by DRS. if I(resource_pool) + is set, and the target is a cluster without DRS, InvalidArgument will + be thrown. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_host_info). + (['clone', 'present', 'register', 'relocate']) + - ' - C(cluster) (str): Cluster into which the virtual machine should be placed. ' + - ' If I(cluster) and I(resource_pool) are both specified, I(resource_pool) + must belong to I(cluster). ' + - '' + - ' If I(cluster) and I(host) are both specified, I(host) must be a member + of I(cluster).' + - '' + - If I(resource_pool) or I(host) is specified, it is recommended that this + field be unset. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_cluster_info). + (['clone', 'present', 'register', 'relocate']) - ' - C(datastore) (str): Datastore on which the virtual machine''s configuration - state should be stored. This datastore will also be used for any virtual + state should be stored. This datastore will also be used for any virtual disks that are associated with the virtual machine, unless individually - overridden. ([''clone'', ''instant_clone'', ''present'', ''relocate''])' + overridden.' + - If this field is unset, the virtual machine will remain on the current datastore. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_datastore_info). + (['clone', 'instant_clone', 'present', 'relocate']) type: dict power_on: description: - - 'Attempt to perform a {@link #powerOn} after clone.' + - Attempt to perform a I(power_on) after clone. + - If unset, the virtual machine will not be powered on. type: bool sata_adapters: description: - List of SATA adapters. + - If unset, any adapters necessary to connect the virtual machine's storage + devices will be created; this includes any devices that explicitly specify + a SATA host bus adapter, as well as any devices that do not specify a + host bus adapter if the guest's preferred adapter type is SATA. - 'Valid attributes are:' - - ' - C(type) (str): The C(type) defines the valid emulation types for a virtual + - ' - C(type) (str): This option defines the valid emulation types for a virtual SATA adapter. ([''present''])' - ' - Accepted values:' - ' - AHCI' - - ' - C(bus) (int): SATA bus number. ([''present''])' - - ' - C(pci_slot_number) (int): Address of the SATA adapter on the PCI bus. - ([''present''])' + - ' - C(bus) (int): SATA bus number.' + - If unset, the server will choose an available bus number; if none is available, + the request will fail. (['present']) + - ' - C(pci_slot_number) (int): Address of the SATA adapter on the PCI bus.' + - If unset, the server will choose an available address when the virtual machine + is powered on. (['present']) elements: dict type: list scsi_adapters: description: - List of SCSI adapters. + - If unset, any adapters necessary to connect the virtual machine's storage + devices will be created; this includes any devices that explicitly specify + a SCSI host bus adapter, as well as any devices that do not specify a + host bus adapter if the guest's preferred adapter type is SCSI. The type + of the SCSI adapter will be a guest-specific default type. - 'Valid attributes are:' - - ' - C(type) (str): The C(type) defines the valid emulation types for a virtual + - ' - C(type) (str): This option defines the valid emulation types for a virtual SCSI adapter. ([''present''])' - ' - Accepted values:' - ' - BUSLOGIC' - ' - LSILOGIC' - ' - LSILOGICSAS' - ' - PVSCSI' - - ' - C(bus) (int): SCSI bus number. ([''present''])' - - ' - C(pci_slot_number) (int): Address of the SCSI adapter on the PCI bus. If - the PCI address is invalid, the server will change it when the VM is started - or as the device is hot added. ([''present''])' - - ' - C(sharing) (str): The C(sharing) defines the valid bus sharing modes - for a virtual SCSI adapter. ([''present''])' + - ' - C(bus) (int): SCSI bus number.' + - If unset, the server will choose an available bus number; if none is available, + the request will fail. (['present']) + - ' - C(pci_slot_number) (int): Address of the SCSI adapter on the PCI bus. + If the PCI address is invalid, the server will change it when the VM is + started or as the device is hot added.' + - If unset, the server will choose an available address when the virtual machine + is powered on. (['present']) + - ' - C(sharing) (str): This option defines the valid bus sharing modes for + a virtual SCSI adapter. ([''present''])' - ' - Accepted values:' - ' - NONE' - ' - PHYSICAL' @@ -629,17 +831,20 @@ options: serial_ports: description: - List of serial ports. + - If unset, no serial ports will be created. - 'Valid attributes are:' - ' - C(yield_on_poll) (bool): CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity - on the host. ([''present''])' + on the host.' + - If unset, defaults to false. (['present']) - ' - C(backing) (dict): Physical resource backing for the virtual serial - port. ([''present''])' + port.' + - If unset, defaults to automatic detection of a suitable host device. (['present']) - ' - Accepted keys:' - - ' - type (string): The C(backing_type) defines the valid backing types - for a virtual serial port.' + - ' - type (string): This option defines the valid backing types for a + virtual serial port.' - 'Accepted value for this field:' - ' - C(FILE)' - ' - C(HOST_DEVICE)' @@ -648,33 +853,51 @@ options: - ' - C(PIPE_CLIENT)' - ' - C(PIPE_SERVER)' - ' - file (string): Path of the file backing the virtual serial port.' + - This field is optional and it is only relevant when the value of I(type) + is FILE. - ' - host_device (string): Name of the device backing the virtual serial - port. <p>' + port. ' + - '' + - '' + - If unset, the virtual serial port will be configured to automatically detect + a suitable host device. - ' - pipe (string): Name of the pipe backing the virtual serial port.' + - This field is optional and it is only relevant when the value of I(type) + is one of PIPE_SERVER or PIPE_CLIENT. - ' - no_rx_loss (boolean): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent - data overrun. This allows the virtual machine to read all of the data + data overrun. This allows the virtual machine to read all of the data transferred over the pipe with no data loss.' + - If unset, defaults to false. - ' - network_location (string): URI specifying the location of the network - service backing the virtual serial port. <ul> <li>If {@link #type} is - {@link BackingType#NETWORK_SERVER}, this field is the location used by - clients to connect to this server. The hostname part of the URI should - either be empty or should specify the address of the host on which the - virtual machine is running.</li> <li>If {@link #type} is {@link BackingType#NETWORK_CLIENT}, - this field is the location used by the virtual machine to connect to the - remote server.</li> </ul>' + service backing the virtual serial port. ' + - ' - If I(type) is NETWORK_SERVER, this field is the location used by clients + to connect to this server. The hostname part of the URI should either + be empty or should specify the address of the host on which the virtual + machine is running.' + - ' - If I(type) is NETWORK_CLIENT, this field is the location used by the + virtual machine to connect to the remote server.' + - ' ' + - This field is optional and it is only relevant when the value of I(type) + is one of NETWORK_SERVER or NETWORK_CLIENT. - ' - proxy (string): Proxy service that provides network access to the - network backing. If set, the virtual machine initiates a connection with + network backing. If set, the virtual machine initiates a connection with the proxy service and forwards the traffic to the proxy.' + - If unset, no proxy service should be used. - ' - C(start_connected) (bool): Flag indicating whether the virtual device - should be connected whenever the virtual machine is powered on. ([''present''])' + should be connected whenever the virtual machine is powered on.' + - Defaults to false if unset. (['present']) - ' - C(allow_guest_control) (bool): Flag indicating whether the guest can - connect and disconnect the device. ([''present''])' + connect and disconnect the device.' + - Defaults to false if unset. (['present']) elements: dict type: list serial_ports_to_update: description: - Map of serial ports to Update. + - If unset, no serial ports will be updated. + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_serial). ' type: dict session_timeout: description: @@ -686,7 +909,10 @@ options: version_added: 2.1.0 source: description: - - Virtual machine to InstantClone from. Required with I(state=['clone', 'instant_clone']) + - Virtual machine to InstantClone from. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['clone', 'instant_clone']) type: str state: choices: @@ -702,12 +928,19 @@ options: type: str storage_policy: description: - - The C(storage_policy_spec) {@term structure} contains information about - the storage policy that is to be associated with the virtual machine home - (which contains the configuration and log files). Required with I(state=['present']) + - The I(storage_policy_spec) structure contains information about the storage + policy that is to be associated with the virtual machine home (which contains + the configuration and log files). + - 'If unset the datastore default storage policy (if applicable) is applied. + Currently a default storage policy is only supported by object datastores + : VVol and vSAN. For non-object datastores, if unset then no storage policy + would be associated with the virtual machine home. Required with I(state=[''present''])' - 'Valid attributes are:' - ' - C(policy) (str): Identifier of the storage policy which should be associated - with the virtual machine. ([''present''])' + with the virtual machine.' + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_storage_policies). + (['present']) - ' This key is required with [''present''].' type: dict vcenter_hostname: @@ -749,18 +982,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine to be unregistered. Required with I(state=['absent', - 'relocate', 'unregister']) + - Identifier of the virtual machine to be unregistered. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['absent', 'relocate', 'unregister']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -1016,6 +1250,24 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "clone": { + "query": {}, + "body": { + "disks_to_remove": "disks_to_remove", + "disks_to_update": "disks_to_update", + "guest_customization_spec": "guest_customization_spec", + "name": "name", + "placement": "placement", + "power_on": "power_on", + "source": "source", + }, + "path": {}, + }, + "relocate": { + "query": {}, + "body": {"disks": "disks", "placement": "placement"}, + "path": {"vm": "vm"}, + }, "register": { "query": {}, "body": { @@ -1027,6 +1279,7 @@ PAYLOAD_FORMAT = { }, "path": {}, }, + "unregister": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "create": { "query": {}, "body": { @@ -1041,6 +1294,7 @@ PAYLOAD_FORMAT = { "memory": "memory", "name": "name", "nics": "nics", + "nvme_adapters": "nvme_adapters", "parallel_ports": "parallel_ports", "placement": "placement", "sata_adapters": "sata_adapters", @@ -1050,25 +1304,7 @@ PAYLOAD_FORMAT = { }, "path": {}, }, - "relocate": { - "query": {}, - "body": {"disks": "disks", "placement": "placement"}, - "path": {"vm": "vm"}, - }, "delete": {"query": {}, "body": {}, "path": {"vm": "vm"}}, - "clone": { - "query": {}, - "body": { - "disks_to_remove": "disks_to_remove", - "disks_to_update": "disks_to_update", - "guest_customization_spec": "guest_customization_spec", - "name": "name", - "placement": "placement", - "power_on": "power_on", - "source": "source", - }, - "path": {}, - }, "instant_clone": { "query": {}, "body": { @@ -1083,11 +1319,8 @@ PAYLOAD_FORMAT = { }, "path": {}, }, - "unregister": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -1102,26 +1335,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -1371,6 +1606,7 @@ def prepare_argument_spec(): argument_spec["name"] = {"type": "str"} argument_spec["nics"] = {"type": "list", "elements": "dict"} argument_spec["nics_to_update"] = {"type": "dict"} + argument_spec["nvme_adapters"] = {"type": "list", "elements": "dict"} argument_spec["parallel_ports"] = {"type": "list", "elements": "dict"} argument_spec["parallel_ports_to_update"] = {"type": "dict"} argument_spec["path"] = {"type": "str"} @@ -1433,7 +1669,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -1450,20 +1685,16 @@ async def entry_point(module, session): async def _clone(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["vm"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["vm"]) @@ -1526,20 +1757,16 @@ async def _clone(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["vm"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["vm"]) @@ -1620,20 +1847,16 @@ async def _delete(params, session): async def _instant_clone(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["vm"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["vm"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_customization.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_customization.py index bfc5b5001..66a139f2f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_customization.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_customization.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -25,50 +22,86 @@ options: is mandatory. - 'Valid attributes are:' - ' - C(windows_config) (dict): Guest customization specification for a Windows - guest operating system ([''set''])' + guest operating system' + - If unset, ConfigurationSpec.linux-config or ConfigurationSpec.cloud-config + must be set. Otherwise, an appropriate fault will be thrown. (['set']) - ' - Accepted keys:' - - ' - reboot (string): The C(reboot_option) specifies what should be done - to the guest after the customization.' + - ' - reboot (string): This option specifies what should be done to the + guest after the customization.' - 'Accepted value for this field:' - ' - C(NO_REBOOT)' - ' - C(REBOOT)' - ' - C(SHUTDOWN)' - ' - sysprep (object): Customization settings like user details, administrator - details, etc for the windows guest operating system. Exactly one of C(#sysprep) - or C(#sysprep_xml) must be specified.' + details, etc for the windows guest operating system. Exactly one of WindowsConfiguration.sysprep + or WindowsConfiguration.sysprep-xml must be specified.' + - If unset, sysprep settings will not be applied to the windows guest operating + system. - ' - sysprep_xml (string): All settings specified in a XML format. This is the content of a typical answer.xml file that is used by System administrators during the Windows image customization. Check https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs - Exactly one of C(#sysprep) or C(#sysprep_xml) must be specified.' + Exactly one of WindowsConfiguration.sysprep or WindowsConfiguration.sysprep-xml + must be specified.' + - If unset, sysprep settings will not be applied to the windows guest operating + system. - ' - C(linux_config) (dict): Guest customization specification for a linux - guest operating system ([''set''])' + guest operating system' + - If unset, ConfigurationSpec.windows-config or ConfigurationSpec.cloud-config + must be set. Otherwise, an appropriate fault will be thrown. (['set']) - ' - Accepted keys:' - ' - hostname (object): The computer name of the (Windows) virtual machine. A computer name may contain letters (A-Z), numbers(0-9) and hyphens (-) but no spaces or periods (.). The name may not consist entirely of digits. A computer name is restricted to 15 characters in length. If the computer name is longer than 15 characters, it will be truncated to 15 characters. - Check {@link HostnameGenerator} for various options.' + Check HostnameGenerator for various options.' - ' - domain (string): The fully qualified domain name.' - ' - time_zone (string): The case-sensitive time zone, such as Europe/Sofia. Valid time zone values are based on the tz (time zone) database used by - Linux. The values are strings in the form "Area/Location," in which Area - is a continent or ocean name, and Location is the city, island, or other - regional designation. See the https://kb.vmware.com/kb/2145518 for a list - of supported time zones for different versions in Linux.' + Linux. The values are strings (string) in the form "Area/Location," in + which Area is a continent or ocean name, and Location is the city, island, + or other regional designation. ' + - ' See the https://kb.vmware.com/kb/2145518 for a list of supported time + zones for different versions in Linux.' + - '' + - If unset, time zone is not modified inside guest operating system. - ' - script_text (string): The script to run before and after Linux guest - customization.<br> The max size of the script is 1500 bytes. As long as - the script (shell, perl, python...) has the right "#!" in the header, - it is supported. The caller should not assume any environment variables - when the script is run. The script is invoked by the customization engine - using the command line: 1) with argument "precustomization" before customization, - 2) with argument "postcustomization" after customization. The script should - parse this argument and implement pre-customization or post-customization - task code details in the corresponding block. A Linux shell script example: - <code> #!/bin/sh<br> if [ x$1 == x"precustomization" ]; then<br> echo - "Do Precustomization tasks"<br> #code for pre-customization actions...<br> - elif [ x$1 == x"postcustomization" ]; then<br> echo "Do Postcustomization - tasks"<br> #code for post-customization actions...<br> fi<br> </code>' + customization.' + - ' The max size of the script is 1500 bytes. As long as the script (shell, + perl, python...) has the right "#!" in the header, it is supported. The + caller should not assume any environment variables when the script is + run. ' + - ' The script is invoked by the customization engine using the command line: + 1) with argument "precustomization" before customization, 2) with argument + "postcustomization" after customization. The script should parse this + argument and implement pre-customization or post-customization task code + details in the corresponding block. ' + - '' + - ' A Linux shell script example: ' + - '' + - ' #!/bin/sh' + - ' if [ x$1 == x"precustomization" ]; then' + - ' echo "Do Precustomization tasks"' + - ' #code for pre-customization actions...' + - ' elif [ x$1 == x"postcustomization" ]; then' + - ' echo "Do Postcustomization tasks"' + - ' #code for post-customization actions...' + - ' fi' + - ' ' + - '' + - If unset, no script will be executed. + - ' - C(cloud_config) (dict): Guest customization specification with cloud + configuration.' + - If unset, ConfigurationSpec.windows-config or ConfigurationSpec.linux-config + must be set. Otherwise, an appropriate fault will be thrown. (['set']) + - ' - Accepted keys:' + - ' - type (string): This option specifies different types of the cloud + configuration.' + - 'Accepted value for this field:' + - ' - C(CLOUDINIT)' + - ' - cloudinit (object): cloud-init configuration' + - This field is optional and it is only relevant when the value of CloudConfiguration.type + is CLOUDINIT. required: true type: dict global_DNS_settings: @@ -79,36 +112,43 @@ options: - ' - C(dns_suffix_list) (list): List of name resolution suffixes for the virtual network adapter. This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, - this setting is listed on a per-adapter basis. ([''set''])' + this setting is listed on a per-adapter basis.' + - If unset, no DNS suffixes are set. (['set']) - ' - C(dns_servers) (list): List of DNS servers, for a virtual network adapter with a static IP address. If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS - servers. These DNS server settings are listed in the order of preference. - ([''set''])' + servers. These DNS server settings are listed in the order of preference.' + - If unset, no DNS servers are set. (['set']) required: true type: dict interfaces: description: - IP settings that are specific to a particular virtual network adapter. The - {@link AdapterMapping} {@term structure} maps a network adapter's MAC - address to its {@link IPSettings}. May be empty if there are no network - adapters, else should match number of network adapters configured for - the VM. This parameter is mandatory. + AdapterMapping structure maps a network adapter's MAC address to its IPSettings. + May be empty if there are no network adapters, else should match number + of network adapters configured for the VM. This parameter is mandatory. - 'Valid attributes are:' - - ' - C(mac_address) (str): The MAC address of a network adapter being customized. - ([''set''])' + - ' - C(mac_address) (str): The MAC address of a network adapter being customized.' + - If unset, the customization process maps the the settings from the list + of I(i_p_settings) in the CustomizationSpec.interfaces to the virtual + machine's network adapters, in PCI slot order. The first virtual network + adapter on the PCI bus is assigned interfaces[0].IPSettings, the second + adapter is assigned interfaces[1].IPSettings, and so on. (['set']) - ' - C(adapter) (dict): The IP settings for the associated virtual network adapter. ([''set''])' - ' This key is required with [''set''].' - ' - Accepted keys:' - ' - ipv4 (object): Specification to configure IPv4 address, subnet mask and gateway info for this virtual network adapter.' + - If unset, no IPv4 addresses are set. - ' - ipv6 (object): Specification to configure IPv6 address, subnet mask and gateway info for this virtual network adapter.' + - If unset, no IPv6 addresses are set. - ' - windows (object): Windows settings to be configured for this specific virtual Network adapter. This is valid only for Windows guest operating systems.' + - If unset, no specific Windows settings are set. elements: dict required: true type: list @@ -120,6 +160,12 @@ options: - The default value is 300s. type: float version_added: 2.1.0 + state: + choices: + - set + default: set + description: [] + type: str vcenter_hostname: description: - The hostname or IP address of the vSphere vCenter @@ -160,6 +206,7 @@ options: vm: description: - The unique identifier of the virtual machine that needs to be customized. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). This parameter is mandatory. required: true type: str @@ -167,11 +214,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -220,8 +267,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -236,26 +281,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -284,6 +330,7 @@ def prepare_argument_spec(): argument_spec["configuration_spec"] = {"required": True, "type": "dict"} argument_spec["global_DNS_settings"] = {"required": True, "type": "dict"} argument_spec["interfaces"] = {"required": True, "type": "list", "elements": "dict"} + argument_spec["state"] = {"type": "str", "choices": ["set"], "default": "set"} argument_spec["vm"] = {"required": True, "type": "str"} return argument_spec @@ -324,8 +371,17 @@ def build_url(params): async def entry_point(module, session): + if module.params["state"] == "present": + if "_create" in globals(): + operation = "create" + else: + operation = "update" + elif module.params["state"] == "absent": + operation = "delete" + else: + operation = module.params["state"] - func = globals()["_set"] + func = globals()["_" + operation] return await func(module.params, session) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_filesystem_directories.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_filesystem_directories.py index 4fe1bd528..9fb6ee330 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_filesystem_directories.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_filesystem_directories.py @@ -3,32 +3,30 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_vm_guest_filesystem_directories short_description: Creates a directory in the guest operating system -description: Creates a directory in the guest operating system. <p> +description: 'Creates a directory in the guest operating system. ' options: create_parents: description: - - Whether any parent directories should be created. If any failure occurs, + - Whether any parent directories should be created. If any failure occurs, some parent directories could be left behind. + - If unset parent directories are not created. type: bool credentials: description: - The guest authentication data. This parameter is mandatory. - 'Valid attributes are:' - - ' - C(interactive_session) (bool): If {@term set}, theoperation will interact - with the logged-in desktop session in the guest. This requires that the - logged-on user matches the user specified by the {@link Credentials}. - This is currently only supported for {@link Type#USERNAME_PASSWORD}. ([''absent'', - ''create_temporary'', ''move'', ''present''])' + - ' - C(interactive_session) (bool): If set, the operation will interact with + the logged-in desktop session in the guest. This requires that the logged-on + user matches the user specified by the Credentials. This is currently + only supported for USERNAME_PASSWORD. ([''absent'', ''create_temporary'', + ''move'', ''present''])' - ' This key is required with [''absent'', ''create_temporary'', ''move'', ''present''].' - ' - C(type) (str): Types of guest credentials ([''absent'', ''create_temporary'', @@ -38,14 +36,18 @@ options: - ' - Accepted values:' - ' - SAML_BEARER_TOKEN' - ' - USERNAME_PASSWORD' - - ' - C(user_name) (str): For {@link Type#SAML_BEARER_TOKEN}, this is the - guest user to be associated with the credentials. For {@link Type#USERNAME_PASSWORD} - this is the guest username. ([''absent'', ''create_temporary'', ''move'', - ''present''])' - - ' - C(password) (str): password ([''absent'', ''create_temporary'', ''move'', - ''present''])' - - ' - C(saml_token) (str): SAML Bearer Token ([''absent'', ''create_temporary'', - ''move'', ''present''])' + - ' - C(user_name) (str): For SAML_BEARER_TOKEN, this is the guest user to + be associated with the credentials. For USERNAME_PASSWORD this is the + guest username.' + - If no user is specified for SAML_BEARER_TOKEN, a guest dependent mapping + will decide what guest user account is applied. (['absent', 'create_temporary', + 'move', 'present']) + - ' - C(password) (str): password' + - This field is optional and it is only relevant when the value of Credentials.type + is USERNAME_PASSWORD. (['absent', 'create_temporary', 'move', 'present']) + - ' - C(saml_token) (str): SAML Bearer Token' + - This field is optional and it is only relevant when the value of Credentials.type + is SAML_BEARER_TOKEN. (['absent', 'create_temporary', 'move', 'present']) required: true type: dict new_path: @@ -57,6 +59,7 @@ options: parent_path: description: - The complete path to the directory in which to create the new directory. + - Directory If unset a guest-specific default will be used. type: str path: description: @@ -71,6 +74,7 @@ options: description: - If true, all files and subdirectories are also deleted. If false, the directory must be empty for the operation to succeed. + - If unset, any directory content is not deleted. type: bool session_timeout: description: @@ -132,18 +136,20 @@ options: type: bool vm: description: - - Virtual Machine to perform the operation on. This parameter is mandatory. + - Virtual Machine to perform the operation on. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -202,38 +208,36 @@ PAYLOAD_FORMAT = { "body": {"credentials": "credentials", "new_path": "new_path", "path": "path"}, "path": {"vm": "vm"}, }, - "create": { + "create_temporary": { "query": {}, "body": { - "create_parents": "create_parents", "credentials": "credentials", - "path": "path", + "parent_path": "parent_path", + "prefix": "prefix", + "suffix": "suffix", }, "path": {"vm": "vm"}, }, - "delete": { + "create": { "query": {}, "body": { + "create_parents": "create_parents", "credentials": "credentials", "path": "path", - "recursive": "recursive", }, "path": {"vm": "vm"}, }, - "create_temporary": { + "delete": { "query": {}, "body": { "credentials": "credentials", - "parent_path": "parent_path", - "prefix": "prefix", - "suffix": "suffix", + "path": "path", + "recursive": "recursive", }, "path": {"vm": "vm"}, }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -248,26 +252,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -347,7 +353,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -364,7 +369,6 @@ async def entry_point(module, session): async def _create(params, session): - uniquity_keys = [] payload = prepare_payload(params, PAYLOAD_FORMAT["create"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_identity_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_identity_info.py index 59395db35..2fd8b2141 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_identity_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_identity_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -114,8 +113,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -130,26 +127,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_localfilesystem_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_localfilesystem_info.py index a4159aecc..a95254c33 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_localfilesystem_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_localfilesystem_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -63,17 +60,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -116,8 +115,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -132,26 +129,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_info.py index 466bc8db1..320629306 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,17 +61,19 @@ options: type: bool vm: description: - - Virtual machine ID Required with I(state=['get']) + - Virtual machine ID + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -117,8 +116,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -133,26 +130,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_interfaces_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_interfaces_info.py index 838fea679..7f7c56eb7 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_interfaces_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_interfaces_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,17 +61,19 @@ options: type: bool vm: description: - - Virtual machine ID Required with I(state=['list']) + - Virtual machine ID + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['list']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -113,8 +112,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -129,26 +126,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_routes_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_routes_info.py index ab7ad241f..2133a89b4 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_routes_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_networking_routes_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -63,17 +60,19 @@ options: type: bool vm: description: - - Virtual machine ID Required with I(state=['list']) + - Virtual machine ID + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['list']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -108,8 +107,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -124,26 +121,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_operations_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_operations_info.py index 78799f24f..75651456b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_operations_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_operations_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 2.0.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -86,8 +85,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -102,26 +99,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power.py index 65bdfbfd7..9487a2004 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -73,21 +70,23 @@ options: type: bool vm: description: - - Identifier of the virtual machine. This parameter is mandatory. + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp seealso: - description: A module to boot, hard shutdown and hard reset guest module: vmware.vmware_rest.vcenter_vm_power notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -141,13 +140,11 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "shutdown": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "reboot": {"query": {}, "body": {}, "path": {"vm": "vm"}}, + "shutdown": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "standby": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -162,26 +159,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -252,7 +250,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power_info.py index bcb7fef6f..e6e1a8352 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_guest_power_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -130,8 +129,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -146,26 +143,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware.py index 3e8f8ad87..81ace5eba 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -36,8 +33,8 @@ options: - ALWAYS - NEVER description: - - The C(upgrade_policy) defines the valid virtual hardware upgrade policies - for a virtual machine. + - The I(upgrade_policy) enumerated type defines the valid virtual hardware + upgrade policies for a virtual machine. type: str upgrade_version: choices: @@ -58,9 +55,9 @@ options: - VMX_18 - VMX_19 description: - - The C(version) defines the valid virtual hardware versions for a virtual - machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine - hardware versions (1003746)). + - The I(version) enumerated type defines the valid virtual hardware versions + for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual + machine hardware versions (1003746)). type: str vcenter_hostname: description: @@ -118,24 +115,26 @@ options: - VMX_18 - VMX_19 description: - - The C(version) defines the valid virtual hardware versions for a virtual - machine. See https://kb.vmware.com/s/article/1003746 (Virtual machine - hardware versions (1003746)). + - The I(version) enumerated type defines the valid virtual hardware versions + for a virtual machine. See https://kb.vmware.com/s/article/1003746 (Virtual + machine hardware versions (1003746)). type: str vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -174,8 +173,6 @@ PAYLOAD_FORMAT = { "upgrade": {"query": {}, "body": {"version": "version"}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -190,26 +187,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -326,7 +324,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata.py index 080c7a54e..854ab20b5 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,12 +14,17 @@ description: Adds a virtual SATA adapter to the virtual machine. options: adapter: description: - - Virtual SATA adapter identifier. Required with I(state=['absent']) + - Virtual SATA adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_adapter_sata). + Required with I(state=['absent']) type: str bus: description: - SATA bus number. + - If unset, the server will choose an available bus number; if none is available, + the request will fail. type: int + default: 0 label: description: - The name of the item @@ -30,6 +32,8 @@ options: pci_slot_number: description: - Address of the SATA adapter on the PCI bus. + - If unset, the server will choose an available address when the virtual machine + is powered on. type: int session_timeout: description: @@ -50,7 +54,8 @@ options: choices: - AHCI description: - - The C(type) defines the valid emulation types for a virtual SATA adapter. + - The I(type) enumerated type defines the valid emulation types for a virtual + SATA adapter. type: str vcenter_hostname: description: @@ -91,18 +96,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -158,8 +165,6 @@ PAYLOAD_FORMAT = { "delete": {"query": {}, "body": {}, "path": {"adapter": "adapter", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -174,26 +179,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -269,7 +276,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -286,20 +292,16 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["adapter"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["adapter"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata_info.py index d2912eaab..5836cfa0f 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_sata_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns information about a virtual SATA adapter. options: adapter: description: - - Virtual SATA adapter identifier. Required with I(state=['get']) + - Virtual SATA adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_adapter_sata). + Required with I(state=['get']) type: str label: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -130,8 +131,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -149,23 +148,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi.py index 3509c904d..25521695c 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,21 +14,28 @@ description: Adds a virtual SCSI adapter to the virtual machine. options: adapter: description: - - Virtual SCSI adapter identifier. Required with I(state=['absent', 'present']) + - Virtual SCSI adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi). + Required with I(state=['absent', 'present']) type: str bus: description: - SCSI bus number. + - If unset, the server will choose an available bus number; if none is available, + the request will fail. type: int + default: 0 label: description: - The name of the item type: str pci_slot_number: description: - - Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, + - Address of the SCSI adapter on the PCI bus. If the PCI address is invalid, the server will change it when the VM is started or as the device is hot added. + - If unset, the server will choose an available address when the virtual machine + is powered on. type: int session_timeout: description: @@ -47,7 +51,8 @@ options: - PHYSICAL - VIRTUAL description: - - The C(sharing) defines the valid bus sharing modes for a virtual SCSI adapter. + - The I(sharing) enumerated type defines the valid bus sharing modes for a + virtual SCSI adapter. type: str state: choices: @@ -63,7 +68,8 @@ options: - LSILOGICSAS - PVSCSI description: - - The C(type) defines the valid emulation types for a virtual SCSI adapter. + - The I(type) enumerated type defines the valid emulation types for a virtual + SCSI adapter. type: str vcenter_hostname: description: @@ -104,18 +110,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -167,7 +175,6 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "delete": {"query": {}, "body": {}, "path": {"adapter": "adapter", "vm": "vm"}}, "update": { "query": {}, "body": {"sharing": "sharing"}, @@ -183,10 +190,9 @@ PAYLOAD_FORMAT = { }, "path": {"vm": "vm"}, }, + "delete": {"query": {}, "body": {}, "path": {"adapter": "adapter", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -201,26 +207,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -303,7 +311,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -320,20 +327,16 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["adapter"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["adapter"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py index c64df425a..ddb324276 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns information about a virtual SCSI adapter. options: adapter: description: - - Virtual SCSI adapter identifier. Required with I(state=['get']) + - Virtual SCSI adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi). + Required with I(state=['get']) type: str label: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -118,8 +119,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -137,23 +136,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot.py index 76f92ab3f..afc4d62e1 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,39 +15,43 @@ options: delay: description: - Delay in milliseconds before beginning the firmware boot process when the - virtual machine is powered on. This delay may be used to provide a time + virtual machine is powered on. This delay may be used to provide a time window for users to connect to the virtual machine console and enter BIOS setup mode. + - If unset, the value is unchanged. type: int efi_legacy_boot: description: - Flag indicating whether to use EFI legacy boot mode. + - If unset, the value is unchanged. type: bool enter_setup_mode: description: - Flag indicating whether the firmware boot process should automatically enter - setup mode the next time the virtual machine boots. Note that this flag + setup mode the next time the virtual machine boots. Note that this flag will automatically be reset to false once the virtual machine enters setup mode. + - If unset, the value is unchanged. type: bool network_protocol: choices: - IPV4 - IPV6 description: - - The C(network_protocol) defines the valid network boot protocols supported - when booting a virtual machine with {@link Type#EFI} firmware over the - network. + - The I(network_protocol) enumerated type defines the valid network boot protocols + supported when booting a virtual machine with EFI firmware over the network. type: str retry: description: - Flag indicating whether the virtual machine should automatically retry the boot process after a failure. + - If unset, the value is unchanged. type: bool retry_delay: description: - Delay in milliseconds before retrying the boot process after a failure; - applicable only when {@link Info#retry} is true. + applicable only when I(retry) is true. + - If unset, the value is unchanged. type: int session_timeout: description: @@ -71,7 +72,8 @@ options: - BIOS - EFI description: - - The C(type) defines the valid firmware types for a virtual machine. + - The I(type) enumerated type defines the valid firmware types for a virtual + machine. type: str vcenter_hostname: description: @@ -112,18 +114,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -177,8 +181,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -193,26 +195,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -290,7 +290,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device.py index b555747b8..fd2ea75b6 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device.py @@ -3,29 +3,25 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_vm_hardware_boot_device short_description: Sets the virtual devices that will be used to boot the virtual machine -description: Sets the virtual devices that will be used to boot the virtual machine. The - virtual machine will check the devices in order, attempting to boot from each, - until the virtual machine boots successfully. If the {@term list} is empty, the - virtual machine will use a default boot sequence. There should be no more than - one instance of {@link Entry} for a given device type except {@link Device.Type#ETHERNET} - in the {@term list}. +description: Sets the virtual devices that will be used to boot the virtual machine. + The virtual machine will check the devices in order, attempting to boot from each, + until the virtual machine boots successfully. If the list is empty, the virtual + machine will use a default boot sequence. There should be no more than one instance + of Device.Entry for a given device type except ETHERNET in the list. options: devices: description: - Ordered list of boot devices. This parameter is mandatory. - 'Valid attributes are:' - - ' - C(type) (str): The C(type) defines the valid device types that may be + - ' - C(type) (str): This option defines the valid device types that may be used as bootable devices. ([''set''])' - ' This key is required with [''set''].' - ' - Accepted values:' @@ -34,9 +30,19 @@ options: - ' - ETHERNET' - ' - FLOPPY' - ' - C(nic) (str): Virtual Ethernet device. Ethernet device to use as boot - device for this entry. ([''set''])' + device for this entry.' + - This field is optional and it is only relevant when the value of I(type) + is ETHERNET. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_ethernet). + (['set']) - ' - C(disks) (list): Virtual disk device. List of virtual disks in boot - order. ([''set''])' + order.' + - This field is optional and it is only relevant when the value of I(type) + is DISK. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). + (['set']) elements: dict required: true type: list @@ -93,18 +99,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -141,8 +149,6 @@ PAYLOAD_FORMAT = { "set": {"query": {}, "body": {"devices": "devices"}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -157,26 +163,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -244,7 +251,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device_info.py index e4d037bab..d01e67850 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_device_info.py @@ -3,18 +3,15 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_vm_hardware_boot_device_info short_description: Returns an ordered list of boot devices for the virtual machine description: Returns an ordered list of boot devices for the virtual machine. If the - {@term list} is empty, the virtual machine uses a default boot sequence. + list is empty, the virtual machine uses a default boot sequence. options: session_timeout: description: @@ -63,17 +60,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -114,8 +113,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -130,26 +127,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_info.py index 66fcac5f7..d719b8a7b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_boot_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -111,8 +110,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -127,26 +124,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom.py index 131a5b0d9..b3185f1c1 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,25 +15,31 @@ options: allow_guest_control: description: - Flag indicating whether the guest can connect and disconnect the device. + - If unset, the value is unchanged. type: bool backing: description: - - Physical resource backing for the virtual CD-ROM device. Required with I(state=['present']) + - Physical resource backing for the virtual CD-ROM device. + - If unset, defaults to automatic detection of a suitable host device. Required + with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual CD-ROM device. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + CD-ROM device. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - CLIENT_DEVICE' - ' - HOST_DEVICE' - ' - ISO_FILE' - ' - C(iso_file) (str): Path of the image file that should be used as the - virtual CD-ROM device backing. ([''present''])' + virtual CD-ROM device backing.' + - This field is optional and it is only relevant when the value of I(type) + is ISO_FILE. (['present']) - ' - C(host_device) (str): Name of the device that should be used as the - virtual CD-ROM device backing. ([''present''])' - - ' - C(device_access_type) (str): The C(device_access_type) defines the valid - device access types for a physical device packing of a virtual CD-ROM - device. ([''present''])' + virtual CD-ROM device backing.' + - If unset, the virtual CD-ROM device will be configured to automatically + detect a suitable host device. (['present']) + - ' - C(device_access_type) (str): This option defines the valid device access + types for a physical device packing of a virtual CD-ROM device. ([''present''])' - ' - Accepted values:' - ' - EMULATION' - ' - PASSTHRU' @@ -44,17 +47,24 @@ options: type: dict cdrom: description: - - Virtual CD-ROM device identifier. Required with I(state=['absent', 'connect', - 'disconnect', 'present']) + - Virtual CD-ROM device identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_cdrom). + Required with I(state=['absent', 'connect', 'disconnect', 'present']) type: str ide: description: - Address for attaching the device to a virtual IDE adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. - 'Valid attributes are:' - ' - C(primary) (bool): Flag specifying whether the device should be attached - to the primary or secondary IDE adapter of the virtual machine. ([''present''])' + to the primary or secondary IDE adapter of the virtual machine.' + - If unset, the server will choose a adapter with an available connection. + If no IDE connections are available, the request will be rejected. (['present']) - ' - C(master) (bool): Flag specifying whether the device should be the master - or slave device on the IDE adapter. ([''present''])' + or slave device on the IDE adapter.' + - If unset, the server will choose an available connection type. If no IDE + connections are available, the request will be rejected. (['present']) type: dict label: description: @@ -62,13 +72,17 @@ options: type: str sata: description: - - Address for attaching the device to a virtual SATA adapter. Required with - I(state=['present']) + - Address for attaching the device to a virtual SATA adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. Required with I(state=['present']) - 'Valid attributes are:' - ' - C(bus) (int): Bus number of the adapter to which the device should be attached. ([''present''])' - ' This key is required with [''present''].' - - ' - C(unit) (int): Unit number of the device. ([''present''])' + - ' - C(unit) (int): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. (['present']) type: dict session_timeout: description: @@ -82,6 +96,7 @@ options: description: - Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. + - If unset, the value is unchanged. type: bool state: choices: @@ -97,8 +112,9 @@ options: - IDE - SATA description: - - The C(host_bus_adapter_type) defines the valid types of host bus adapters - that may be used for attaching a Cdrom to a virtual machine. + - The I(host_bus_adapter_type) enumerated type defines the valid types of + host bus adapters that may be used for attaching a Cdrom to a virtual + machine. type: str vcenter_hostname: description: @@ -139,18 +155,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -206,6 +224,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "connect": {"query": {}, "body": {}, "path": {"cdrom": "cdrom", "vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"cdrom": "cdrom", "vm": "vm"}}, "update": { "query": {}, "body": { @@ -228,12 +248,8 @@ PAYLOAD_FORMAT = { "path": {"vm": "vm"}, }, "delete": {"query": {}, "body": {}, "path": {"cdrom": "cdrom", "vm": "vm"}}, - "disconnect": {"query": {}, "body": {}, "path": {"cdrom": "cdrom", "vm": "vm"}}, - "connect": {"query": {}, "body": {}, "path": {"cdrom": "cdrom", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -248,26 +264,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -346,7 +364,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -390,20 +407,16 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["cdrom"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["cdrom"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom_info.py index ea51baa3a..b76fd9afa 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cdrom_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns information about a virtual CD-ROM device. options: cdrom: description: - - Virtual CD-ROM device identifier. Required with I(state=['get']) + - Virtual CD-ROM device identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_cdrom). + Required with I(state=['get']) type: str label: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -117,8 +118,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -136,23 +135,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu.py index ff96dde18..3d3a56b4a 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,30 +14,38 @@ description: Updates the CPU-related settings of a virtual machine. options: cores_per_socket: description: - - New number of CPU cores per socket. The number of CPU cores in the virtual + - New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. + - If unset, the value is unchanged. type: int count: description: - - New number of CPU cores. The number of CPU cores in the virtual machine - must be a multiple of the number of cores per socket. The supported range - of CPU counts is constrained by the configured guest operating system - and virtual hardware version of the virtual machine. If the virtual machine - is running, the number of CPU cores may only be increased if {@link Info#hotAddEnabled} - is true, and may only be decreased if {@link Info#hotRemoveEnabled} is - true. + - 'New number of CPU cores. The number of CPU cores in the virtual machine + must be a multiple of the number of cores per socket. ' + - ' The supported range of CPU counts is constrained by the configured guest + operating system and virtual hardware version of the virtual machine. ' + - '' + - ' If the virtual machine is running, the number of CPU cores may only be + increased if I(hot_add_enabled) is true, and may only be decreased if + I(hot_remove_enabled) is true.' + - '' + - If unset, the value is unchanged. type: int hot_add_enabled: description: - - Flag indicating whether adding CPUs while the virtual machine is running - is enabled. This field may only be modified if the virtual machine is - powered off. + - 'Flag indicating whether adding CPUs while the virtual machine is running + is enabled. ' + - ' This field may only be modified if the virtual machine is powered off.' + - '' + - If unset, the value is unchanged. type: bool hot_remove_enabled: description: - - Flag indicating whether removing CPUs while the virtual machine is running - is enabled. This field may only be modified if the virtual machine is - powered off. + - 'Flag indicating whether removing CPUs while the virtual machine is running + is enabled. ' + - ' This field may only be modified if the virtual machine is powered off.' + - '' + - If unset, the value is unchanged. type: bool session_timeout: description: @@ -95,18 +100,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -160,8 +167,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -176,26 +181,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -270,7 +273,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu_info.py index 7901d02ad..01786eecd 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_cpu_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -111,8 +110,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -127,26 +124,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk.py index 2d27e32ac..d627a1550 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk.py @@ -3,45 +3,53 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_vm_hardware_disk short_description: Adds a virtual disk to the virtual machine -description: Adds a virtual disk to the virtual machine. While adding the virtual +description: Adds a virtual disk to the virtual machine. While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk. options: backing: description: - Existing physical resource backing for the virtual disk. Exactly one of - C(#backing) or C(#new_vmdk) must be specified. Required with I(state=['present']) + I(backing) or I(new_vmdk) must be specified. + - If unset, the virtual disk will not be connected to an existing backing. + Required with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual disk. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + disk. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - VMDK_FILE' - - ' - C(vmdk_file) (str): Path of the VMDK file backing the virtual disk. - ([''present''])' + - ' - C(vmdk_file) (str): Path of the VMDK file backing the virtual disk.' + - This field is optional and it is only relevant when the value of I(type) + is VMDK_FILE. (['present']) type: dict disk: description: - - Virtual disk identifier. Required with I(state=['absent', 'present']) + - Virtual disk identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). + Required with I(state=['absent', 'present']) type: str ide: description: - Address for attaching the device to a virtual IDE adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. - 'Valid attributes are:' - ' - C(primary) (bool): Flag specifying whether the device should be attached - to the primary or secondary IDE adapter of the virtual machine. ([''present''])' + to the primary or secondary IDE adapter of the virtual machine.' + - If unset, the server will choose a adapter with an available connection. + If no IDE connections are available, the request will be rejected. (['present']) - ' - C(master) (bool): Flag specifying whether the device should be the master - or slave device on the IDE adapter. ([''present''])' + or slave device on the IDE adapter.' + - If unset, the server will choose an available connection type. If no IDE + connections are available, the request will be rejected. (['present']) type: dict label: description: @@ -49,38 +57,70 @@ options: type: str new_vmdk: description: - - Specification for creating a new VMDK backing for the virtual disk. Exactly - one of C(#backing) or C(#new_vmdk) must be specified. + - Specification for creating a new VMDK backing for the virtual disk. Exactly + one of I(backing) or I(new_vmdk) must be specified. + - If unset, a new VMDK backing will not be created. - 'Valid attributes are:' - - ' - C(name) (str): Base name of the VMDK file. The name should not include - the ''.vmdk'' file extension. ([''present''])' - - ' - C(capacity) (int): Capacity of the virtual disk backing in bytes. ([''present''])' - - ' - C(storage_policy) (dict): The C(storage_policy_spec) {@term structure} - contains information about the storage policy that is to be associated - the with VMDK file. ([''present''])' + - ' - C(name) (str): Base name of the VMDK file. The name should not include + the ''.vmdk'' file extension.' + - If unset, a name (derived from the name of the virtual machine) will be + chosen by the server. (['present']) + - ' - C(capacity) (int): Capacity of the virtual disk backing in bytes.' + - If unset, defaults to a guest-specific capacity. (['present']) + - ' - C(storage_policy) (dict): The I(storage_policy_spec) structure contains + information about the storage policy that is to be associated the with + VMDK file.' + - 'If unset the default storage policy of the target datastore (if applicable) + is applied. Currently a default storage policy is only supported by object + based datastores : VVol & vSAN. For non- object datastores, if unset then + no storage policy would be associated with the VMDK file. ([''present''])' - ' - Accepted keys:' - ' - policy (string): Identifier of the storage policy which should be associated with the VMDK file.' + - 'When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_storage_policies). ' + type: dict + nvme: + description: + - Address for attaching the device to a virtual NVMe adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. Required with I(state=['present']) + - 'Valid attributes are:' + - ' - C(bus) (int): Bus number of the adapter to which the device should be + attached. ([''present''])' + - ' This key is required with [''present''].' + - ' - C(unit) (int): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. (['present']) type: dict sata: description: - - Address for attaching the device to a virtual SATA adapter. Required with - I(state=['present']) + - Address for attaching the device to a virtual SATA adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. Required with I(state=['present']) - 'Valid attributes are:' - ' - C(bus) (int): Bus number of the adapter to which the device should be attached. ([''present''])' - ' This key is required with [''present''].' - - ' - C(unit) (int): Unit number of the device. ([''present''])' + - ' - C(unit) (int): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. (['present']) type: dict scsi: description: - - Address for attaching the device to a virtual SCSI adapter. Required with - I(state=['present']) + - Address for attaching the device to a virtual SCSI adapter. + - If unset, the server will choose an available address; if none is available, + the request will fail. Required with I(state=['present']) - 'Valid attributes are:' - ' - C(bus) (int): Bus number of the adapter to which the device should be attached. ([''present''])' - ' This key is required with [''present''].' - - ' - C(unit) (int): Unit number of the device. ([''present''])' + - ' - C(unit) (int): Unit number of the device.' + - If unset, the server will choose an available unit number on the specified + adapter. If there are no available connections on the adapter, the request + will be rejected. (['present']) type: dict session_timeout: description: @@ -100,11 +140,13 @@ options: type: choices: - IDE + - NVME - SATA - SCSI description: - - The C(host_bus_adapter_type) defines the valid types of host bus adapters - that may be used for attaching a virtual storage device to a virtual machine. + - The I(host_bus_adapter_type) enumerated type defines the valid types of + host bus adapters that may be used for attaching a virtual storage device + to a virtual machine. type: str vcenter_hostname: description: @@ -145,18 +187,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -212,7 +256,6 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "delete": {"query": {}, "body": {}, "path": {"disk": "disk", "vm": "vm"}}, "update": { "query": {}, "body": {"backing": "backing"}, @@ -224,16 +267,16 @@ PAYLOAD_FORMAT = { "backing": "backing", "ide": "ide", "new_vmdk": "new_vmdk", + "nvme": "nvme", "sata": "sata", "scsi": "scsi", "type": "type", }, "path": {"vm": "vm"}, }, + "delete": {"query": {}, "body": {}, "path": {"disk": "disk", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -248,26 +291,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -298,6 +343,7 @@ def prepare_argument_spec(): argument_spec["ide"] = {"type": "dict"} argument_spec["label"] = {"type": "str"} argument_spec["new_vmdk"] = {"type": "dict"} + argument_spec["nvme"] = {"type": "dict"} argument_spec["sata"] = {"type": "dict"} argument_spec["scsi"] = {"type": "dict"} argument_spec["state"] = { @@ -305,7 +351,7 @@ def prepare_argument_spec(): "choices": ["absent", "present"], "default": "present", } - argument_spec["type"] = {"type": "str", "choices": ["IDE", "SATA", "SCSI"]} + argument_spec["type"] = {"type": "str", "choices": ["IDE", "NVME", "SATA", "SCSI"]} argument_spec["vm"] = {"required": True, "type": "str"} return argument_spec @@ -346,7 +392,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -363,20 +408,16 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["disk"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["disk"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk_info.py index 481e25896..dbfe3ba9b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_disk_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns information about a virtual disk. options: disk: description: - - Virtual disk identifier. Required with I(state=['get']) + - Virtual disk identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). + Required with I(state=['get']) type: str label: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -137,8 +138,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -156,23 +155,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet.py index f92a0c4df..758e406fc 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,14 +15,16 @@ options: allow_guest_control: description: - Flag indicating whether the guest can connect and disconnect the device. + - If unset, the value is unchanged. type: bool backing: description: - - Physical resource backing for the virtual Ethernet adapter. Required with - I(state=['present']) + - Physical resource backing for the virtual Ethernet adapter. + - If unset, the system may try to find an appropriate backing. If one is not + found, the request will fail. Required with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual Ethernet adapter. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + Ethernet adapter. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - DISTRIBUTED_PORTGROUP' @@ -33,16 +32,25 @@ options: - ' - OPAQUE_NETWORK' - ' - STANDARD_PORTGROUP' - ' - C(network) (str): Identifier of the network that backs the virtual Ethernet - adapter. ([''present''])' + adapter.' + - This field is optional and it is only relevant when the value of I(type) + is one of STANDARD_PORTGROUP, DISTRIBUTED_PORTGROUP, or OPAQUE_NETWORK. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_network_info). + (['present']) - ' - C(distributed_port) (str): Key of the distributed virtual port that - backs the virtual Ethernet adapter. Depending on the type of the Portgroup, + backs the virtual Ethernet adapter. Depending on the type of the Portgroup, the port may be specified using this field. If the portgroup type is early-binding (also known as static), a port is assigned when the Ethernet adapter is configured to use the port. The port may be either automatically or specifically assigned based on the value of this field. If the portgroup type is ephemeral, the port is created and assigned to a virtual machine when it is powered - on and the Ethernet adapter is connected. This field cannot be specified - as no free ports exist before use. ([''present''])' + on and the Ethernet adapter is connected. This field cannot be specified + as no free ports exist before use.' + - May be used to specify a port when the network specified on the I(network) + field is a static or early binding distributed portgroup. If unset, the + port will be automatically assigned to the Ethernet adapter based on the + policy embodied by the portgroup type. (['present']) type: dict label: description: @@ -50,8 +58,12 @@ options: type: str mac_address: description: - - MAC address. This field may be modified at any time, and changes will be - applied the next time the virtual machine is powered on. + - 'MAC address. ' + - ' This field may be modified at any time, and changes will be applied the + next time the virtual machine is powered on.' + - '' + - If unset, the value is unchanged. Must be specified if I(mac_type) is MANUAL. + Must be unset if the MAC address type is not MANUAL. type: str mac_type: choices: @@ -59,19 +71,22 @@ options: - GENERATED - MANUAL description: - - The C(mac_address_type) defines the valid MAC address origins for a virtual - Ethernet adapter. + - The I(mac_address_type) enumerated type defines the valid MAC address origins + for a virtual Ethernet adapter. type: str nic: description: - - Virtual Ethernet adapter identifier. Required with I(state=['absent', 'connect', - 'disconnect', 'present']) + - Virtual Ethernet adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_ethernet). + Required with I(state=['absent', 'connect', 'disconnect', 'present']) type: str pci_slot_number: description: - - Address of the virtual Ethernet adapter on the PCI bus. If the PCI address + - Address of the virtual Ethernet adapter on the PCI bus. If the PCI address is invalid, the server will change when it the VM is started or as the device is hot added. + - If unset, the server will choose an available address when the virtual machine + is powered on. type: int session_timeout: description: @@ -85,6 +100,7 @@ options: description: - Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. + - If unset, the value is unchanged. type: bool state: choices: @@ -104,15 +120,18 @@ options: - VMXNET2 - VMXNET3 description: - - The C(emulation_type) defines the valid emulation types for a virtual Ethernet - adapter. + - The I(emulation_type) enumerated type defines the valid emulation types + for a virtual Ethernet adapter. type: str upt_compatibility_enabled: description: - - Flag indicating whether Universal Pass-Through (UPT) compatibility should - be enabled on this virtual Ethernet adapter. This field may be modified - at any time, and changes will be applied the next time the virtual machine - is powered on. + - 'Flag indicating whether Universal Pass-Through (UPT) compatibility should + be enabled on this virtual Ethernet adapter. ' + - ' This field may be modified at any time, and changes will be applied the + next time the virtual machine is powered on.' + - '' + - If unset, the value is unchanged. Must be unset if the emulation type of + the virtual Ethernet adapter is not VMXNET3. type: bool vcenter_hostname: description: @@ -153,24 +172,29 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str wake_on_lan_enabled: description: - - Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet - adapter. This field may be modified at any time, and changes will be applied - the next time the virtual machine is powered on. + - 'Flag indicating whether wake-on-LAN shoud be enabled on this virtual Ethernet + adapter. ' + - ' This field may be modified at any time, and changes will be applied the + next time the virtual machine is powered on.' + - '' + - If unset, the value is unchanged. type: bool author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -281,6 +305,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "connect": {"query": {}, "body": {}, "path": {"nic": "nic", "vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"nic": "nic", "vm": "vm"}}, "update": { "query": {}, "body": { @@ -310,12 +336,8 @@ PAYLOAD_FORMAT = { "path": {"vm": "vm"}, }, "delete": {"query": {}, "body": {}, "path": {"nic": "nic", "vm": "vm"}}, - "disconnect": {"query": {}, "body": {}, "path": {"nic": "nic", "vm": "vm"}}, - "connect": {"query": {}, "body": {}, "path": {"nic": "nic", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -330,26 +352,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -437,7 +461,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -481,20 +504,16 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["nic"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["nic"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet_info.py index d0764425e..c474552f8 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_ethernet_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,7 +18,9 @@ options: type: str nic: description: - - Virtual Ethernet adapter identifier. Required with I(state=['get']) + - Virtual Ethernet adapter identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_ethernet). + Required with I(state=['get']) type: str session_timeout: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -122,8 +123,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -141,23 +140,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy.py index 98e04233a..41d9f6177 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,27 +15,35 @@ options: allow_guest_control: description: - Flag indicating whether the guest can connect and disconnect the device. + - If unset, the value is unchanged. type: bool backing: description: - - Physical resource backing for the virtual floppy drive. Required with I(state=['present']) + - Physical resource backing for the virtual floppy drive. + - If unset, defaults to automatic detection of a suitable host device. Required + with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual floppy drive. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + floppy drive. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - CLIENT_DEVICE' - ' - HOST_DEVICE' - ' - IMAGE_FILE' - ' - C(image_file) (str): Path of the image file that should be used as the - virtual floppy drive backing. ([''present''])' + virtual floppy drive backing.' + - This field is optional and it is only relevant when the value of I(type) + is IMAGE_FILE. (['present']) - ' - C(host_device) (str): Name of the device that should be used as the - virtual floppy drive backing. ([''present''])' + virtual floppy drive backing.' + - If unset, the virtual floppy drive will be configured to automatically detect + a suitable host device. (['present']) type: dict floppy: description: - - Virtual floppy drive identifier. Required with I(state=['absent', 'connect', - 'disconnect', 'present']) + - Virtual floppy drive identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_floppy). + Required with I(state=['absent', 'connect', 'disconnect', 'present']) type: str label: description: @@ -56,6 +61,7 @@ options: description: - Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. + - If unset, the value is unchanged. type: bool state: choices: @@ -105,18 +111,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -169,6 +177,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "connect": {"query": {}, "body": {}, "path": {"floppy": "floppy", "vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"floppy": "floppy", "vm": "vm"}}, "update": { "query": {}, "body": { @@ -188,12 +198,8 @@ PAYLOAD_FORMAT = { "path": {"vm": "vm"}, }, "delete": {"query": {}, "body": {}, "path": {"floppy": "floppy", "vm": "vm"}}, - "disconnect": {"query": {}, "body": {}, "path": {"floppy": "floppy", "vm": "vm"}}, - "connect": {"query": {}, "body": {}, "path": {"floppy": "floppy", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -208,26 +214,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -303,7 +311,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -347,20 +354,16 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["floppy"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["floppy"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy_info.py index 221083299..b5833071a 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_floppy_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,7 +14,9 @@ description: Returns information about a virtual floppy drive. options: floppy: description: - - Virtual floppy drive identifier. Required with I(state=['get']) + - Virtual floppy drive identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_floppy). + Required with I(state=['get']) type: str label: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -117,8 +118,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -136,23 +135,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_info.py index 96cd40fd8..54fb4e5b6 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -105,8 +104,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -121,26 +118,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory.py index 912c3604c..ce91b03db 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -17,11 +14,16 @@ description: Updates the memory-related settings of a virtual machine. options: hot_add_enabled: description: - - Flag indicating whether adding memory while the virtual machine is running - should be enabled. Some guest operating systems may consume more resources - or perform less efficiently when they run on hardware that supports adding - memory while the machine is running. This field may only be modified if - the virtual machine is not powered on. + - 'Flag indicating whether adding memory while the virtual machine is running + should be enabled. ' + - ' Some guest operating systems may consume more resources or perform less + efficiently when they run on hardware that supports adding memory while + the machine is running. ' + - '' + - ' This field may only be modified if the virtual machine is not powered + on.' + - '' + - If unset, the value is unchanged. type: bool session_timeout: description: @@ -33,12 +35,15 @@ options: version_added: 2.1.0 size_MiB: description: - - New memory size in mebibytes. The supported range of memory sizes is constrained - by the configured guest operating system and virtual hardware version - of the virtual machine. If the virtual machine is running, this value - may only be changed if {@link Info#hotAddEnabled} is true, and the new - memory size must satisfy the constraints specified by {@link Info#hotAddIncrementSizeMiB} - and {@link Info#hotAddLimitMiB}. + - 'New memory size in mebibytes. ' + - ' The supported range of memory sizes is constrained by the configured guest + operating system and virtual hardware version of the virtual machine. ' + - '' + - ' If the virtual machine is running, this value may only be changed if I(hot_add_enabled) + is true, and the new memory size must satisfy the constraints specified + by I(hot_add_increment_size_mib) and I()' + - '' + - If unset, the value is unchanged. type: int state: choices: @@ -85,18 +90,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -141,8 +148,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -157,26 +162,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -249,7 +252,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory_info.py index 503f78dd0..0087744db 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_memory_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -109,8 +108,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -125,26 +122,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel.py index 5bb5559a2..ec7076e2c 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,21 +15,28 @@ options: allow_guest_control: description: - Flag indicating whether the guest can connect and disconnect the device. + - If unset, the value is unchanged. type: bool backing: description: - - Physical resource backing for the virtual parallel port. Required with I(state=['present']) + - Physical resource backing for the virtual parallel port. + - If unset, defaults to automatic detection of a suitable host device. Required + with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual parallel port. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + parallel port. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - FILE' - ' - HOST_DEVICE' - ' - C(file) (str): Path of the file that should be used as the virtual parallel - port backing. ([''present''])' + port backing.' + - This field is optional and it is only relevant when the value of I(type) + is FILE. (['present']) - ' - C(host_device) (str): Name of the device that should be used as the - virtual parallel port backing. ([''present''])' + virtual parallel port backing.' + - If unset, the virtual parallel port will be configured to automatically + detect a suitable host device. (['present']) type: dict label: description: @@ -40,8 +44,9 @@ options: type: str port: description: - - Virtual parallel port identifier. Required with I(state=['absent', 'connect', - 'disconnect', 'present']) + - Virtual parallel port identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_parallel). + Required with I(state=['absent', 'connect', 'disconnect', 'present']) type: str session_timeout: description: @@ -55,6 +60,7 @@ options: description: - Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. + - If unset, the value is unchanged. type: bool state: choices: @@ -104,18 +110,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -161,6 +169,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "connect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, "update": { "query": {}, "body": { @@ -180,12 +190,8 @@ PAYLOAD_FORMAT = { "path": {"vm": "vm"}, }, "delete": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, - "disconnect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, - "connect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -200,26 +206,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -295,7 +303,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -339,20 +346,16 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["port"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["port"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel_info.py index b8f3457ab..d2d2f7f37 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_parallel_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,7 +18,9 @@ options: type: str port: description: - - Virtual parallel port identifier. Required with I(state=['get']) + - Virtual parallel port identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_parallel). + Required with I(state=['get']) type: str session_timeout: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -117,8 +118,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -136,23 +135,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial.py index 0d953a6c6..3da5807bd 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,13 +15,16 @@ options: allow_guest_control: description: - Flag indicating whether the guest can connect and disconnect the device. + - If unset, the value is unchanged. type: bool backing: description: - - Physical resource backing for the virtual serial port. Required with I(state=['present']) + - Physical resource backing for the virtual serial port. + - If unset, defaults to automatic detection of a suitable host device. Required + with I(state=['present']) - 'Valid attributes are:' - - ' - C(type) (str): The C(backing_type) defines the valid backing types for - a virtual serial port. ([''present''])' + - ' - C(type) (str): This option defines the valid backing types for a virtual + serial port. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - FILE' @@ -33,25 +33,38 @@ options: - ' - NETWORK_SERVER' - ' - PIPE_CLIENT' - ' - PIPE_SERVER' - - ' - C(file) (str): Path of the file backing the virtual serial port. ([''present''])' + - ' - C(file) (str): Path of the file backing the virtual serial port.' + - This field is optional and it is only relevant when the value of I(type) + is FILE. (['present']) - ' - C(host_device) (str): Name of the device backing the virtual serial - port. ([''present''])' - - ' - C(pipe) (str): Name of the pipe backing the virtual serial port. ([''present''])' + port. ' + - '' + - '' + - If unset, the virtual serial port will be configured to automatically detect + a suitable host device. (['present']) + - ' - C(pipe) (str): Name of the pipe backing the virtual serial port.' + - This field is optional and it is only relevant when the value of I(type) + is one of PIPE_SERVER or PIPE_CLIENT. (['present']) - ' - C(no_rx_loss) (bool): Flag that enables optimized data transfer over the pipe. When the value is true, the host buffers data to prevent data - overrun. This allows the virtual machine to read all of the data transferred - over the pipe with no data loss. ([''present''])' + overrun. This allows the virtual machine to read all of the data transferred + over the pipe with no data loss.' + - If unset, defaults to false. (['present']) - ' - C(network_location) (str): URI specifying the location of the network - service backing the virtual serial port. <ul> <li>If {@link #type} is - {@link BackingType#NETWORK_SERVER}, this field is the location used by - clients to connect to this server. The hostname part of the URI should - either be empty or should specify the address of the host on which the - virtual machine is running.</li> <li>If {@link #type} is {@link BackingType#NETWORK_CLIENT}, - this field is the location used by the virtual machine to connect to the - remote server.</li> </ul> ([''present''])' + service backing the virtual serial port. ' + - ' - If I(type) is NETWORK_SERVER, this field is the location used by clients + to connect to this server. The hostname part of the URI should either + be empty or should specify the address of the host on which the virtual + machine is running.' + - ' - If I(type) is NETWORK_CLIENT, this field is the location used by the + virtual machine to connect to the remote server.' + - ' ' + - This field is optional and it is only relevant when the value of I(type) + is one of NETWORK_SERVER or NETWORK_CLIENT. (['present']) - ' - C(proxy) (str): Proxy service that provides network access to the network - backing. If set, the virtual machine initiates a connection with the - proxy service and forwards the traffic to the proxy. ([''present''])' + backing. If set, the virtual machine initiates a connection with the proxy + service and forwards the traffic to the proxy.' + - If unset, no proxy service should be used. (['present']) type: dict label: description: @@ -59,8 +72,9 @@ options: type: str port: description: - - Virtual serial port identifier. Required with I(state=['absent', 'connect', - 'disconnect', 'present']) + - Virtual serial port identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_serial). + Required with I(state=['absent', 'connect', 'disconnect', 'present']) type: str session_timeout: description: @@ -74,6 +88,7 @@ options: description: - Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. + - If unset, the value is unchanged. type: bool state: choices: @@ -123,27 +138,31 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str yield_on_poll: description: - - CPU yield behavior. If set to true, the virtual machine will periodically + - 'CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend - on the degree of other virtual machine activity on the host. This field - may be modified at any time, and changes applied to a connected virtual - serial port take effect immediately. + on the degree of other virtual machine activity on the host. ' + - ' This field may be modified at any time, and changes applied to a connected + virtual serial port take effect immediately.' + - '' + - If unset, the value is unchanged. type: bool author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -225,6 +244,8 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { + "connect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, "update": { "query": {}, "body": { @@ -246,12 +267,8 @@ PAYLOAD_FORMAT = { "path": {"vm": "vm"}, }, "delete": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, - "disconnect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, - "connect": {"query": {}, "body": {}, "path": {"port": "port", "vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -266,26 +283,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -362,7 +381,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -406,20 +424,16 @@ async def _connect(params, session): async def _create(params, session): - lookup_url = per_id_url = build_url(params) uniquity_keys = ["port"] comp_func = None async def lookup_with_filters(params, session, url): - # e.g: for the datacenter resources - if "folder" not in params: - return + search_filter = "" + if "name" not in params: return - async with session.get( - f"{url}?names={params['name']}&folders={params['folder']}" - ) as resp: + async with session.get(f"{url}?names={params['name']}{search_filter}") as resp: _json = await resp.json() if isinstance(_json, list) and len(_json) == 1: return await get_device_info(session, url, _json[0]["port"]) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial_info.py index f79e9e8f3..1f7357f6d 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_hardware_serial_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,7 +18,9 @@ options: type: str port: description: - - Virtual serial port identifier. Required with I(state=['get']) + - Virtual serial port identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_serial). + Required with I(state=['get']) type: str session_timeout: description: @@ -70,18 +69,20 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -137,8 +138,6 @@ PAYLOAD_FORMAT = { "list": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -156,23 +155,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_info.py index 464b5cad8..145e169f2 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -19,6 +16,9 @@ options: description: - Clusters that must contain the virtual machine for the virtual machine to match the filter. + - If unset or empty, virtual machines in any cluster match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_cluster_info). elements: str type: list datacenters: @@ -27,6 +27,9 @@ options: description: - Datacenters that must contain the virtual machine for the virtual machine to match the filter. + - If unset or empty, virtual machines in any datacenter match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_datacenter_info). elements: str type: list folders: @@ -35,31 +38,42 @@ options: description: - Folders that must contain the virtual machine for the virtual machine to match the filter. + - If unset or empty, virtual machines in any folder match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_folder_info). elements: str type: list hosts: description: - Hosts that must contain the virtual machine for the virtual machine to match the filter. + - If unset or empty, virtual machines on any host match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_host_info). elements: str type: list names: aliases: - filter_names description: - - Names that virtual machines must have to match the filter (see {@link Info#name}). + - Names that virtual machines must have to match the filter (see I(name)). + - If unset or empty, virtual machines with any name match the filter. elements: str type: list power_states: description: - Power states that a virtual machine must be in to match the filter (see - {@link I(info)#state}. + I() + - If unset or empty, virtual machines in any power state match the filter. elements: str type: list resource_pools: description: - Resource pools that must contain the virtual machine for the virtual machine to match the filter. + - If unset or empty, virtual machines in any resource pool match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_resourcepool_info). elements: str type: list session_timeout: @@ -109,22 +123,27 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str vms: description: - Identifiers of virtual machines that can match the filter. + - If unset or empty, virtual machines with any identifier match the filter. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_vm_info). elements: str type: list author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -310,8 +329,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -329,23 +346,23 @@ from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest imp build_full_device_list, exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_libraryitem_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_libraryitem_info.py index 9a70f5f2d..2b3f20537 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_libraryitem_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_libraryitem_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,17 +61,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -109,8 +108,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -125,26 +122,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power.py index 27139045d..5007a07f3 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -74,14 +71,16 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp seealso: @@ -89,7 +88,7 @@ seealso: a soft shutdown, standby (suspend) or soft reboot module: vmware.vmware_rest.vcenter_vm_guest_power notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -232,14 +231,12 @@ results: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "suspend": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "reset": {"query": {}, "body": {}, "path": {"vm": "vm"}}, - "stop": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "start": {"query": {}, "body": {}, "path": {"vm": "vm"}}, + "stop": {"query": {}, "body": {}, "path": {"vm": "vm"}}, + "suspend": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -254,26 +251,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -342,7 +340,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power_info.py index a482d8cf2..2e05118f9 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_power_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -108,8 +107,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -124,26 +121,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy.py index 63659925e..bdeaac92d 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -21,6 +18,9 @@ options: description: - Storage policy or policies to be used when reconfiguring virtual machine diks. + - if unset the current storage policy is retained. + - 'When clients pass a value of this structure as a parameter, the key in + the field map must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). ' type: dict session_timeout: description: @@ -75,33 +75,39 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str vm_home: description: - - Storage policy to be used when reconfiguring the virtual machine home. This - parameter is mandatory. + - Storage policy to be used when reconfiguring the virtual machine home. + - if unset the current storage policy is retained. This parameter is mandatory. - 'Valid attributes are:' - - ' - C(type) (str): The C(policy_type) defines the choices for how to specify - the policy to be associated with the virtual machine home''s directory. - ([''present''])' + - ' - C(type) (str): This option defines the choices for how to specify the + policy to be associated with the virtual machine home''s directory. ([''present''])' - ' This key is required with [''present''].' - ' - Accepted values:' - ' - USE_DEFAULT_POLICY' - ' - USE_SPECIFIED_POLICY' - - ' - C(policy) (str): Storage Policy identification. ([''present''])' + - ' - C(policy) (str): Storage Policy identification.' + - This field is optional and it is only relevant when the value of I(type) + is USE_SPECIFIED_POLICY. + - When clients pass a value of this structure as a parameter, the field must + be the id of a resource returned by M(vmware.vmware_rest.vcenter_storage_policies). + (['present']) required: true type: dict author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -152,8 +158,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -168,26 +172,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, - gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -260,7 +262,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance.py index 081417e81..9ef117d64 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance.py @@ -3,24 +3,24 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" module: vcenter_vm_storage_policy_compliance -short_description: Returns the storage policy Compliance {@link Info} of a virtual +short_description: Returns the storage policy Compliance Compliance.Info of a virtual machine after explicitly re-computing compliance check. -description: Returns the storage policy Compliance {@link Info} of a virtual machine +description: Returns the storage policy Compliance Compliance.Info of a virtual machine after explicitly re-computing compliance check. options: disks: description: - Identifiers of the virtual machine's virtual disks for which compliance should be checked. + - If unset or empty, compliance check is invoked on all the associated disks. + - When clients pass a value of this structure as a parameter, the field must + contain the id of resources returned by M(vmware.vmware_rest.vcenter_vm_hardware_disk). elements: str type: list session_timeout: @@ -76,7 +76,9 @@ options: type: bool vm: description: - - Virtual machine identifier. This parameter is mandatory. + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str vm_home: @@ -89,11 +91,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -111,8 +113,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -127,26 +127,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -215,7 +216,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance_info.py index fa6f4e1c3..70d371fcd 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_compliance_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,17 +61,19 @@ options: type: bool vm: description: - - Virtual machine identifier. Required with I(state=['get']) + - Virtual machine identifier. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -116,8 +115,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -132,26 +129,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_info.py index 94ead680c..131fa709d 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_storage_policy_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -64,17 +61,19 @@ options: type: bool vm: description: - - Virtual machine identifier Required with I(state=['get']) + - Virtual machine identifier + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -110,8 +109,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -126,26 +123,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools.py index 464f83f43..cc7b59b25 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -19,6 +16,7 @@ options: description: - Command line options passed to the installer to modify the installation procedure for Tools. + - Set if any additional options are desired. type: str session_timeout: description: @@ -40,8 +38,8 @@ options: - MANUAL - UPGRADE_AT_POWER_CYCLE description: - - The C(upgrade_policy) defines when Tools are auto-upgraded for a virtual - machine. + - The I(upgrade_policy) enumerated type defines when Tools are auto-upgraded + for a virtual machine. type: str vcenter_hostname: description: @@ -82,18 +80,20 @@ options: type: bool vm: description: - - Identifier of the virtual machine. This parameter is mandatory. + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -162,8 +162,6 @@ PAYLOAD_FORMAT = { }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -178,26 +176,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -271,7 +270,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_info.py index ff87ed923..f1a2f202b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -173,8 +172,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -189,26 +186,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer.py index e42fe66f7..376ce6e31 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -18,10 +15,10 @@ description: Connects the VMware Tools CD installer as a CD-ROM for the guest op system. On Windows guest operating systems with autorun, this should cause the installer to initiate the Tools installation which will need user input to complete. On other (non-Windows) guest operating systems this will make the Tools installation - available, and a a user will need to do guest-specific actions. On Linux, this + available, and a a user will need to do guest-specific actions. On Linux, this includes opening an archive and running the installer. To monitor the status of - the Tools install, clients should check the {@name vcenter.vm.Tools.Info#versionStatus} - and {@name vcenter.vm.Tools.Info#runState} from {@link vcenter.vm.Tools#get} + the Tools install, clients should check the Tools.Info.version-status and Tools.Info.run-state + from Tools.get options: session_timeout: description: @@ -77,18 +74,20 @@ options: type: bool vm: description: - - Virtual machine ID This parameter is mandatory. + - Virtual machine ID + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + This parameter is mandatory. required: true type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -142,12 +141,10 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "disconnect": {"query": {}, "body": {}, "path": {"vm": "vm"}}, "connect": {"query": {}, "body": {}, "path": {"vm": "vm"}}, + "disconnect": {"query": {}, "body": {}, "path": {"vm": "vm"}}, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -162,26 +159,27 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, - get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -252,7 +250,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer_info.py index 37401ebef..c88b22c95 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vm_tools_installer_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -62,17 +59,19 @@ options: type: bool vm: description: - - Identifier of the virtual machine. Required with I(state=['get']) + - Identifier of the virtual machine. + - The parameter must be the id of a resource returned by M(vmware.vmware_rest.vcenter_vm_info). + Required with I(state=['get']) type: str author: - Ansible Cloud Team (@ansible-collections) version_added: 0.1.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -129,8 +128,6 @@ PAYLOAD_FORMAT = { "get": {"query": {}, "body": {}, "path": {"vm": "vm"}} } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -145,26 +142,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems.py index c2ced6ab7..0eb18f625 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -186,11 +183,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.2.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -312,39 +309,37 @@ value: # This structure describes the format of the data expected by the end-points PAYLOAD_FORMAT = { - "create": { + "deploy": { "query": {}, "body": { "description": "description", "disk_storage": "disk_storage", "disk_storage_overrides": "disk_storage_overrides", - "library": "library", + "guest_customization": "guest_customization", + "hardware_customization": "hardware_customization", "name": "name", "placement": "placement", - "source_vm": "source_vm", + "powered_on": "powered_on", "vm_home_storage": "vm_home_storage", }, - "path": {}, + "path": {"template_library_item": "template_library_item"}, }, - "deploy": { + "create": { "query": {}, "body": { "description": "description", "disk_storage": "disk_storage", "disk_storage_overrides": "disk_storage_overrides", - "guest_customization": "guest_customization", - "hardware_customization": "hardware_customization", + "library": "library", "name": "name", "placement": "placement", - "powered_on": "powered_on", + "source_vm": "source_vm", "vm_home_storage": "vm_home_storage", }, - "path": {"template_library_item": "template_library_item"}, + "path": {}, }, } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -359,26 +354,28 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, exists, gen_args, get_device_info, get_subdevice_type, - list_devices, open_session, prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", @@ -460,7 +457,6 @@ def build_url(params): async def entry_point(module, session): - if module.params["state"] == "present": if "_create" in globals(): operation = "create" @@ -477,7 +473,6 @@ async def entry_point(module, session): async def _create(params, session): - lookup_url = "https://{vcenter_hostname}/api/content/library/item?library_id={library}".format( **params ) diff --git a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems_info.py b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems_info.py index 70d9bd27e..b5f78c3d1 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems_info.py +++ b/ansible_collections/vmware/vmware_rest/plugins/modules/vcenter_vmtemplate_libraryitems_info.py @@ -3,11 +3,8 @@ # Copyright: (c) 2021, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # template: header.j2 -# This module is autogenerated by vmware_rest_code_generator. -# See: https://github.com/ansible-collections/vmware_rest_code_generator -from __future__ import absolute_import, division, print_function - -__metaclass__ = type +# This module is autogenerated using the ansible.content_builder. +# See: https://github.com/ansible-community/ansible.content_builder DOCUMENTATION = r""" @@ -71,11 +68,11 @@ author: - Ansible Cloud Team (@ansible-collections) version_added: 2.2.0 requirements: -- vSphere 7.0.2 or greater +- vSphere 7.0.3 or greater - python >= 3.6 - aiohttp notes: -- Tested on vSphere 7.0.2 +- Tested on vSphere 7.0.3 """ EXAMPLES = r""" @@ -93,8 +90,6 @@ PAYLOAD_FORMAT = { } } # pylint: disable=line-too-long -import json -import socket from ansible.module_utils.basic import env_fallback try: @@ -109,26 +104,24 @@ try: except ImportError: from ansible.module_utils.basic import AnsibleModule from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - build_full_device_list, - exists, gen_args, - get_device_info, - get_subdevice_type, - list_devices, open_session, - prepare_payload, - update_changed_flag, session_timeout, + update_changed_flag, ) def prepare_argument_spec(): argument_spec = { "vcenter_hostname": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_HOST"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_HOST"]), ), "vcenter_username": dict( - type="str", required=True, fallback=(env_fallback, ["VMWARE_USER"]), + type="str", + required=True, + fallback=(env_fallback, ["VMWARE_USER"]), ), "vcenter_password": dict( type="str", diff --git a/ansible_collections/vmware/vmware_rest/plugins/plugin_utils/lookup.py b/ansible_collections/vmware/vmware_rest/plugins/plugin_utils/lookup.py index cf3b4e54c..2f0c3eb0b 100644 --- a/ansible_collections/vmware/vmware_rest/plugins/plugin_utils/lookup.py +++ b/ansible_collections/vmware/vmware_rest/plugins/plugin_utils/lookup.py @@ -8,21 +8,18 @@ __metaclass__ = type import asyncio -import os import urllib -from ansible.module_utils._text import to_native from ansible.errors import AnsibleLookupError - +from ansible.module_utils._text import to_native from ansible_collections.cloud.common.plugins.module_utils.turbo.exceptions import ( EmbeddedModuleFailure, ) from ansible_collections.vmware.vmware_rest.plugins.module_utils.vmware_rest import ( - open_session, gen_args, + open_session, ) - INVENTORY = { "resource_pool": { "list": { @@ -115,47 +112,24 @@ INVENTORY = { } -def get_credentials(**options): - credentials = {} - credentials["vcenter_hostname"] = options.get("vcenter_hostname") or os.getenv( - "VMWARE_HOST" - ) - credentials["vcenter_username"] = options.get("vcenter_username") or os.getenv( - "VMWARE_USER" - ) - credentials["vcenter_password"] = options.get("vcenter_password") or os.getenv( - "VMWARE_PASSWORD" - ) - credentials["vcenter_validate_certs"] = options.get( - "vcenter_validate_certs" - ) or os.getenv("VMWARE_VALIDATE_CERTS") - credentials["vcenter_rest_log_file"] = options.get( - "vcenter_rest_log_file" - ) or os.getenv("VMWARE_REST_LOG_FILE") - return credentials - - class Lookup: def __init__(self, options): self._options = options @classmethod async def entry_point(cls, terms, options): + if not terms or not terms[0]: + raise AnsibleLookupError( + "Option _terms is required but no object has been specified" + ) session = None - if not options.get("vcenter_hostname"): - raise AnsibleLookupError("vcenter_hostname cannot be empty") - if not options.get("vcenter_username"): - raise AnsibleLookupError("vcenter_username cannot be empty") - if not options.get("vcenter_password"): - raise AnsibleLookupError("vcenter_password cannot be empty") - try: session = await open_session( - vcenter_hostname=options.get("vcenter_hostname"), - vcenter_username=options.get("vcenter_username"), - vcenter_password=options.get("vcenter_password"), - validate_certs=bool(options.get("vcenter_validate_certs")), + vcenter_hostname=options["vcenter_hostname"], + vcenter_username=options["vcenter_username"], + vcenter_password=options["vcenter_password"], + validate_certs=options.get("vcenter_validate_certs"), log_file=options.get("vcenter_rest_log_file"), ) except EmbeddedModuleFailure as e: @@ -166,9 +140,6 @@ class Lookup: lookup = cls(options) lookup._options["session"] = session - if not terms: - raise AnsibleLookupError("No object has been specified.") - task = asyncio.ensure_future(lookup.moid(terms[0])) return await task diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.10.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.10.txt deleted file mode 100644 index 3afc028e5..000000000 --- a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.10.txt +++ /dev/null @@ -1,1357 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip -plugins/modules/appliance_vmon_service.py import-2.6!skip -plugins/modules/appliance_vmon_service.py compile-2.6!skip -plugins/modules/appliance_vmon_service.py import-2.7!skip -plugins/modules/appliance_vmon_service.py compile-2.7!skip -plugins/modules/appliance_vmon_service.py import-3.5!skip -plugins/modules/appliance_vmon_service.py compile-3.5!skip -plugins/modules/appliance_vmon_service.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service.py validate-modules:missing-main-call -plugins/modules/vcenter_host.py import-2.6!skip -plugins/modules/vcenter_host.py compile-2.6!skip -plugins/modules/vcenter_host.py import-2.7!skip -plugins/modules/vcenter_host.py compile-2.7!skip -plugins/modules/vcenter_host.py import-3.5!skip -plugins/modules/vcenter_host.py compile-3.5!skip -plugins/modules/vcenter_host.py future-import-boilerplate!skip -plugins/modules/vcenter_host.py metaclass-boilerplate!skip -plugins/modules/vcenter_host.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_info.py import-2.6!skip -plugins/modules/appliance_monitoring_info.py compile-2.6!skip -plugins/modules/appliance_monitoring_info.py import-2.7!skip -plugins/modules/appliance_monitoring_info.py compile-2.7!skip -plugins/modules/appliance_monitoring_info.py import-3.5!skip -plugins/modules/appliance_monitoring_info.py compile-3.5!skip -plugins/modules/appliance_monitoring_info.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_info.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_info.py import-2.6!skip -plugins/modules/appliance_networking_info.py compile-2.6!skip -plugins/modules/appliance_networking_info.py import-2.7!skip -plugins/modules/appliance_networking_info.py compile-2.7!skip -plugins/modules/appliance_networking_info.py import-3.5!skip -plugins/modules/appliance_networking_info.py compile-3.5!skip -plugins/modules/appliance_networking_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_libraryitem_info.py import-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync_info.py import-2.6!skip -plugins/modules/appliance_timesync_info.py compile-2.6!skip -plugins/modules/appliance_timesync_info.py import-2.7!skip -plugins/modules/appliance_timesync_info.py compile-2.7!skip -plugins/modules/appliance_timesync_info.py import-3.5!skip -plugins/modules/appliance_timesync_info.py compile-3.5!skip -plugins/modules/appliance_timesync_info.py future-import-boilerplate!skip -plugins/modules/appliance_timesync_info.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync_info.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary_info.py import-2.6!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.6!skip -plugins/modules/content_subscribedlibrary_info.py import-2.7!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.7!skip -plugins/modules/content_subscribedlibrary_info.py import-3.5!skip -plugins/modules/content_subscribedlibrary_info.py compile-3.5!skip -plugins/modules/content_subscribedlibrary_info.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_datastore_info.py import-2.6!skip -plugins/modules/vcenter_datastore_info.py compile-2.6!skip -plugins/modules/vcenter_datastore_info.py import-2.7!skip -plugins/modules/vcenter_datastore_info.py compile-2.7!skip -plugins/modules/vcenter_datastore_info.py import-3.5!skip -plugins/modules/vcenter_datastore_info.py compile-3.5!skip -plugins/modules/vcenter_datastore_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datastore_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datastore_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datastore_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh_info.py import-2.6!skip -plugins/modules/appliance_access_ssh_info.py compile-2.6!skip -plugins/modules/appliance_access_ssh_info.py import-2.7!skip -plugins/modules/appliance_access_ssh_info.py compile-2.7!skip -plugins/modules/appliance_access_ssh_info.py import-3.5!skip -plugins/modules/appliance_access_ssh_info.py compile-3.5!skip -plugins/modules/appliance_access_ssh_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli_info.py import-2.6!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.6!skip -plugins/modules/appliance_access_consolecli_info.py import-2.7!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.7!skip -plugins/modules/appliance_access_consolecli_info.py import-3.5!skip -plugins/modules/appliance_access_consolecli_info.py compile-3.5!skip -plugins/modules/appliance_access_consolecli_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-main-call -plugins/modules/content_locallibrary.py import-2.6!skip -plugins/modules/content_locallibrary.py compile-2.6!skip -plugins/modules/content_locallibrary.py import-2.7!skip -plugins/modules/content_locallibrary.py compile-2.7!skip -plugins/modules/content_locallibrary.py import-3.5!skip -plugins/modules/content_locallibrary.py compile-3.5!skip -plugins/modules/content_locallibrary.py future-import-boilerplate!skip -plugins/modules/content_locallibrary.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary.py validate-modules:missing-main-call -plugins/modules/appliance_update_info.py import-2.6!skip -plugins/modules/appliance_update_info.py compile-2.6!skip -plugins/modules/appliance_update_info.py import-2.7!skip -plugins/modules/appliance_update_info.py compile-2.7!skip -plugins/modules/appliance_update_info.py import-3.5!skip -plugins/modules/appliance_update_info.py compile-3.5!skip -plugins/modules/appliance_update_info.py future-import-boilerplate!skip -plugins/modules/appliance_update_info.py metaclass-boilerplate!skip -plugins/modules/appliance_update_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_update_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-main-call -plugins/modules/appliance_ntp_info.py import-2.6!skip -plugins/modules/appliance_ntp_info.py compile-2.6!skip -plugins/modules/appliance_ntp_info.py import-2.7!skip -plugins/modules/appliance_ntp_info.py compile-2.7!skip -plugins/modules/appliance_ntp_info.py import-3.5!skip -plugins/modules/appliance_ntp_info.py compile-3.5!skip -plugins/modules/appliance_ntp_info.py future-import-boilerplate!skip -plugins/modules/appliance_ntp_info.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli.py import-2.6!skip -plugins/modules/appliance_access_consolecli.py compile-2.6!skip -plugins/modules/appliance_access_consolecli.py import-2.7!skip -plugins/modules/appliance_access_consolecli.py compile-2.7!skip -plugins/modules/appliance_access_consolecli.py import-3.5!skip -plugins/modules/appliance_access_consolecli.py compile-3.5!skip -plugins/modules/appliance_access_consolecli.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter_info.py import-2.6!skip -plugins/modules/vcenter_datacenter_info.py compile-2.6!skip -plugins/modules/vcenter_datacenter_info.py import-2.7!skip -plugins/modules/vcenter_datacenter_info.py compile-2.7!skip -plugins/modules/vcenter_datacenter_info.py import-3.5!skip -plugins/modules/vcenter_datacenter_info.py compile-3.5!skip -plugins/modules/vcenter_datacenter_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_version_info.py import-2.6!skip -plugins/modules/appliance_system_version_info.py compile-2.6!skip -plugins/modules/appliance_system_version_info.py import-2.7!skip -plugins/modules/appliance_system_version_info.py compile-2.7!skip -plugins/modules/appliance_system_version_info.py import-3.5!skip -plugins/modules/appliance_system_version_info.py compile-3.5!skip -plugins/modules/appliance_system_version_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_version_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_version_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_version_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_applmgmt_info.py import-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py import-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py import-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py compile-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage_info.py import-2.6!skip -plugins/modules/appliance_system_storage_info.py compile-2.6!skip -plugins/modules/appliance_system_storage_info.py import-2.7!skip -plugins/modules/appliance_system_storage_info.py compile-2.7!skip -plugins/modules/appliance_system_storage_info.py import-3.5!skip -plugins/modules/appliance_system_storage_info.py compile-3.5!skip -plugins/modules/appliance_system_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs_info.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell_info.py import-2.6!skip -plugins/modules/appliance_access_shell_info.py compile-2.6!skip -plugins/modules/appliance_access_shell_info.py import-2.7!skip -plugins/modules/appliance_access_shell_info.py compile-2.7!skip -plugins/modules/appliance_access_shell_info.py import-3.5!skip -plugins/modules/appliance_access_shell_info.py compile-3.5!skip -plugins/modules/appliance_access_shell_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_mem_info.py import-2.6!skip -plugins/modules/appliance_health_mem_info.py compile-2.6!skip -plugins/modules/appliance_health_mem_info.py import-2.7!skip -plugins/modules/appliance_health_mem_info.py compile-2.7!skip -plugins/modules/appliance_health_mem_info.py import-3.5!skip -plugins/modules/appliance_health_mem_info.py compile-3.5!skip -plugins/modules/appliance_health_mem_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_mem_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_mem_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_mem_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_operations_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_query.py import-2.6!skip -plugins/modules/appliance_monitoring_query.py compile-2.6!skip -plugins/modules/appliance_monitoring_query.py import-2.7!skip -plugins/modules/appliance_monitoring_query.py compile-2.7!skip -plugins/modules/appliance_monitoring_query.py import-3.5!skip -plugins/modules/appliance_monitoring_query.py compile-3.5!skip -plugins/modules/appliance_monitoring_query.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_query.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_query.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_query.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool.py import-2.6!skip -plugins/modules/vcenter_resourcepool.py compile-2.6!skip -plugins/modules/vcenter_resourcepool.py import-2.7!skip -plugins/modules/vcenter_resourcepool.py compile-2.7!skip -plugins/modules/vcenter_resourcepool.py import-3.5!skip -plugins/modules/vcenter_resourcepool.py compile-3.5!skip -plugins/modules/vcenter_resourcepool.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy.py import-2.6!skip -plugins/modules/appliance_networking_proxy.py compile-2.6!skip -plugins/modules/appliance_networking_proxy.py import-2.7!skip -plugins/modules/appliance_networking_proxy.py compile-2.7!skip -plugins/modules/appliance_networking_proxy.py import-3.5!skip -plugins/modules/appliance_networking_proxy.py compile-3.5!skip -plugins/modules/appliance_networking_proxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_system_info.py import-2.6!skip -plugins/modules/appliance_health_system_info.py compile-2.6!skip -plugins/modules/appliance_health_system_info.py import-2.7!skip -plugins/modules/appliance_health_system_info.py compile-2.7!skip -plugins/modules/appliance_health_system_info.py import-3.5!skip -plugins/modules/appliance_health_system_info.py compile-3.5!skip -plugins/modules/appliance_health_system_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_system_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_system_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_system_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking.py import-2.6!skip -plugins/modules/appliance_networking.py compile-2.6!skip -plugins/modules/appliance_networking.py import-2.7!skip -plugins/modules/appliance_networking.py compile-2.7!skip -plugins/modules/appliance_networking.py import-3.5!skip -plugins/modules/appliance_networking.py compile-3.5!skip -plugins/modules/appliance_networking.py future-import-boilerplate!skip -plugins/modules/appliance_networking.py metaclass-boilerplate!skip -plugins/modules/appliance_networking.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-main-call -plugins/modules/content_configuration_info.py import-2.6!skip -plugins/modules/content_configuration_info.py compile-2.6!skip -plugins/modules/content_configuration_info.py import-2.7!skip -plugins/modules/content_configuration_info.py compile-2.7!skip -plugins/modules/content_configuration_info.py import-3.5!skip -plugins/modules/content_configuration_info.py compile-3.5!skip -plugins/modules/content_configuration_info.py future-import-boilerplate!skip -plugins/modules/content_configuration_info.py metaclass-boilerplate!skip -plugins/modules/content_configuration_info.py validate-modules:missing-if-name-main -plugins/modules/content_configuration_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-main-call -plugins/modules/vcenter_folder_info.py import-2.6!skip -plugins/modules/vcenter_folder_info.py compile-2.6!skip -plugins/modules/vcenter_folder_info.py import-2.7!skip -plugins/modules/vcenter_folder_info.py compile-2.7!skip -plugins/modules/vcenter_folder_info.py import-3.5!skip -plugins/modules/vcenter_folder_info.py compile-3.5!skip -plugins/modules/vcenter_folder_info.py future-import-boilerplate!skip -plugins/modules/vcenter_folder_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_folder_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_folder_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_info.py import-2.6!skip -plugins/modules/appliance_system_time_info.py compile-2.6!skip -plugins/modules/appliance_system_time_info.py import-2.7!skip -plugins/modules/appliance_system_time_info.py compile-2.7!skip -plugins/modules/appliance_system_time_info.py import-3.5!skip -plugins/modules/appliance_system_time_info.py compile-3.5!skip -plugins/modules/appliance_system_time_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_load_info.py import-2.6!skip -plugins/modules/appliance_health_load_info.py compile-2.6!skip -plugins/modules/appliance_health_load_info.py import-2.7!skip -plugins/modules/appliance_health_load_info.py compile-2.7!skip -plugins/modules/appliance_health_load_info.py import-3.5!skip -plugins/modules/appliance_health_load_info.py compile-3.5!skip -plugins/modules/appliance_health_load_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_load_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_load_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_load_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools.py import-2.6!skip -plugins/modules/vcenter_vm_tools.py compile-2.6!skip -plugins/modules/vcenter_vm_tools.py import-2.7!skip -plugins/modules/vcenter_vm_tools.py compile-2.7!skip -plugins/modules/vcenter_vm_tools.py import-3.5!skip -plugins/modules/vcenter_vm_tools.py compile-3.5!skip -plugins/modules/vcenter_vm_tools.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_info.py import-2.6!skip -plugins/modules/vcenter_vm_info.py compile-2.6!skip -plugins/modules/vcenter_vm_info.py import-2.7!skip -plugins/modules/vcenter_vm_info.py compile-2.7!skip -plugins/modules/vcenter_vm_info.py import-3.5!skip -plugins/modules/vcenter_vm_info.py compile-3.5!skip -plugins/modules/vcenter_vm_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary.py import-2.6!skip -plugins/modules/content_subscribedlibrary.py compile-2.6!skip -plugins/modules/content_subscribedlibrary.py import-2.7!skip -plugins/modules/content_subscribedlibrary.py compile-2.7!skip -plugins/modules/content_subscribedlibrary.py import-3.5!skip -plugins/modules/content_subscribedlibrary.py compile-3.5!skip -plugins/modules/content_subscribedlibrary.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips_info.py import-2.6!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.6!skip -plugins/modules/appliance_system_globalfips_info.py import-2.7!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.7!skip -plugins/modules/appliance_system_globalfips_info.py import-3.5!skip -plugins/modules/appliance_system_globalfips_info.py compile-3.5!skip -plugins/modules/appliance_system_globalfips_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-main-call -plugins/modules/appliance_services_info.py import-2.6!skip -plugins/modules/appliance_services_info.py compile-2.6!skip -plugins/modules/appliance_services_info.py import-2.7!skip -plugins/modules/appliance_services_info.py compile-2.7!skip -plugins/modules/appliance_services_info.py import-3.5!skip -plugins/modules/appliance_services_info.py compile-3.5!skip -plugins/modules/appliance_services_info.py future-import-boilerplate!skip -plugins/modules/appliance_services_info.py metaclass-boilerplate!skip -plugins/modules/appliance_services_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_services_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-main-call -plugins/modules/content_configuration.py import-2.6!skip -plugins/modules/content_configuration.py compile-2.6!skip -plugins/modules/content_configuration.py import-2.7!skip -plugins/modules/content_configuration.py compile-2.7!skip -plugins/modules/content_configuration.py import-3.5!skip -plugins/modules/content_configuration.py compile-3.5!skip -plugins/modules/content_configuration.py future-import-boilerplate!skip -plugins/modules/content_configuration.py metaclass-boilerplate!skip -plugins/modules/content_configuration.py validate-modules:missing-if-name-main -plugins/modules/content_configuration.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-main-call -plugins/modules/content_locallibrary_info.py import-2.6!skip -plugins/modules/content_locallibrary_info.py compile-2.6!skip -plugins/modules/content_locallibrary_info.py import-2.7!skip -plugins/modules/content_locallibrary_info.py compile-2.7!skip -plugins/modules/content_locallibrary_info.py import-3.5!skip -plugins/modules/content_locallibrary_info.py compile-3.5!skip -plugins/modules/content_locallibrary_info.py future-import-boilerplate!skip -plugins/modules/content_locallibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy_info.py import-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py import-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py import-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh.py import-2.6!skip -plugins/modules/appliance_access_ssh.py compile-2.6!skip -plugins/modules/appliance_access_ssh.py import-2.7!skip -plugins/modules/appliance_access_ssh.py compile-2.7!skip -plugins/modules/appliance_access_ssh.py import-3.5!skip -plugins/modules/appliance_access_ssh.py compile-3.5!skip -plugins/modules/appliance_access_ssh.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh.py validate-modules:missing-main-call -plugins/modules/appliance_health_softwarepackages_info.py import-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py import-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py import-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_database_info.py import-2.6!skip -plugins/modules/appliance_health_database_info.py compile-2.6!skip -plugins/modules/appliance_health_database_info.py import-2.7!skip -plugins/modules/appliance_health_database_info.py compile-2.7!skip -plugins/modules/appliance_health_database_info.py import-3.5!skip -plugins/modules/appliance_health_database_info.py compile-3.5!skip -plugins/modules/appliance_health_database_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_database_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_database_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_database_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-main-call -plugins/modules/content_library_item_info.py import-2.6!skip -plugins/modules/content_library_item_info.py compile-2.6!skip -plugins/modules/content_library_item_info.py import-2.7!skip -plugins/modules/content_library_item_info.py compile-2.7!skip -plugins/modules/content_library_item_info.py import-3.5!skip -plugins/modules/content_library_item_info.py compile-3.5!skip -plugins/modules/content_library_item_info.py future-import-boilerplate!skip -plugins/modules/content_library_item_info.py metaclass-boilerplate!skip -plugins/modules/content_library_item_info.py validate-modules:missing-if-name-main -plugins/modules/content_library_item_info.py validate-modules:missing-main-call -plugins/modules/appliance_vmon_service_info.py import-2.6!skip -plugins/modules/appliance_vmon_service_info.py compile-2.6!skip -plugins/modules/appliance_vmon_service_info.py import-2.7!skip -plugins/modules/appliance_vmon_service_info.py compile-2.7!skip -plugins/modules/appliance_vmon_service_info.py import-3.5!skip -plugins/modules/appliance_vmon_service_info.py compile-3.5!skip -plugins/modules/appliance_vmon_service_info.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy.py import-2.6!skip -plugins/modules/appliance_networking_noproxy.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy.py import-2.7!skip -plugins/modules/appliance_networking_noproxy.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy.py import-3.5!skip -plugins/modules/appliance_networking_noproxy.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui_info.py import-2.6!skip -plugins/modules/appliance_access_dcui_info.py compile-2.6!skip -plugins/modules/appliance_access_dcui_info.py import-2.7!skip -plugins/modules/appliance_access_dcui_info.py compile-2.7!skip -plugins/modules/appliance_access_dcui_info.py import-3.5!skip -plugins/modules/appliance_access_dcui_info.py compile-3.5!skip -plugins/modules/appliance_access_dcui_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-main-call -plugins/modules/vcenter_ovf_libraryitem.py import-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py import-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py import-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py future-import-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py metaclass-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-if-name-main -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips.py import-2.6!skip -plugins/modules/appliance_system_globalfips.py compile-2.6!skip -plugins/modules/appliance_system_globalfips.py import-2.7!skip -plugins/modules/appliance_system_globalfips.py compile-2.7!skip -plugins/modules/appliance_system_globalfips.py import-3.5!skip -plugins/modules/appliance_system_globalfips.py compile-3.5!skip -plugins/modules/appliance_system_globalfips.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown.py import-2.6!skip -plugins/modules/appliance_shutdown.py compile-2.6!skip -plugins/modules/appliance_shutdown.py import-2.7!skip -plugins/modules/appliance_shutdown.py compile-2.7!skip -plugins/modules/appliance_shutdown.py import-3.5!skip -plugins/modules/appliance_shutdown.py compile-3.5!skip -plugins/modules/appliance_shutdown.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-main-call -plugins/modules/vcenter_host_info.py import-2.6!skip -plugins/modules/vcenter_host_info.py compile-2.6!skip -plugins/modules/vcenter_host_info.py import-2.7!skip -plugins/modules/vcenter_host_info.py compile-2.7!skip -plugins/modules/vcenter_host_info.py import-3.5!skip -plugins/modules/vcenter_host_info.py compile-3.5!skip -plugins/modules/vcenter_host_info.py future-import-boilerplate!skip -plugins/modules/vcenter_host_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_host_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync.py import-2.6!skip -plugins/modules/appliance_timesync.py compile-2.6!skip -plugins/modules/appliance_timesync.py import-2.7!skip -plugins/modules/appliance_timesync.py compile-2.7!skip -plugins/modules/appliance_timesync.py import-3.5!skip -plugins/modules/appliance_timesync.py compile-3.5!skip -plugins/modules/appliance_timesync.py future-import-boilerplate!skip -plugins/modules/appliance_timesync.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync.py validate-modules:missing-main-call -plugins/modules/vcenter_network_info.py import-2.6!skip -plugins/modules/vcenter_network_info.py compile-2.6!skip -plugins/modules/vcenter_network_info.py import-2.7!skip -plugins/modules/vcenter_network_info.py compile-2.7!skip -plugins/modules/vcenter_network_info.py import-3.5!skip -plugins/modules/vcenter_network_info.py compile-3.5!skip -plugins/modules/vcenter_network_info.py future-import-boilerplate!skip -plugins/modules/vcenter_network_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_network_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_network_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown_info.py import-2.6!skip -plugins/modules/appliance_shutdown_info.py compile-2.6!skip -plugins/modules/appliance_shutdown_info.py import-2.7!skip -plugins/modules/appliance_shutdown_info.py compile-2.7!skip -plugins/modules/appliance_shutdown_info.py import-3.5!skip -plugins/modules/appliance_shutdown_info.py compile-3.5!skip -plugins/modules/appliance_shutdown_info.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown_info.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-main-call -plugins/modules/vcenter_cluster_info.py import-2.6!skip -plugins/modules/vcenter_cluster_info.py compile-2.6!skip -plugins/modules/vcenter_cluster_info.py import-2.7!skip -plugins/modules/vcenter_cluster_info.py compile-2.7!skip -plugins/modules/vcenter_cluster_info.py import-3.5!skip -plugins/modules/vcenter_cluster_info.py compile-3.5!skip -plugins/modules/vcenter_cluster_info.py future-import-boilerplate!skip -plugins/modules/vcenter_cluster_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_cluster_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_cluster_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage.py import-2.6!skip -plugins/modules/appliance_system_storage.py compile-2.6!skip -plugins/modules/appliance_system_storage.py import-2.7!skip -plugins/modules/appliance_system_storage.py compile-2.7!skip -plugins/modules/appliance_system_storage.py import-3.5!skip -plugins/modules/appliance_system_storage.py compile-3.5!skip -plugins/modules/appliance_system_storage.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm.py import-2.6!skip -plugins/modules/vcenter_vm.py compile-2.6!skip -plugins/modules/vcenter_vm.py import-2.7!skip -plugins/modules/vcenter_vm.py compile-2.7!skip -plugins/modules/vcenter_vm.py import-3.5!skip -plugins/modules/vcenter_vm.py compile-3.5!skip -plugins/modules/vcenter_vm.py future-import-boilerplate!skip -plugins/modules/vcenter_vm.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy_info.py import-2.6!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_proxy_info.py import-2.7!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_proxy_info.py import-3.5!skip -plugins/modules/appliance_networking_proxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_proxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware.py import-2.6!skip -plugins/modules/vcenter_vm_hardware.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware.py import-2.7!skip -plugins/modules/vcenter_vm_hardware.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware.py import-3.5!skip -plugins/modules/vcenter_vm_hardware.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-main-call -plugins/modules/appliance_services.py import-2.6!skip -plugins/modules/appliance_services.py compile-2.6!skip -plugins/modules/appliance_services.py import-2.7!skip -plugins/modules/appliance_services.py compile-2.7!skip -plugins/modules/appliance_services.py import-3.5!skip -plugins/modules/appliance_services.py compile-3.5!skip -plugins/modules/appliance_services.py future-import-boilerplate!skip -plugins/modules/appliance_services.py metaclass-boilerplate!skip -plugins/modules/appliance_services.py validate-modules:missing-if-name-main -plugins/modules/appliance_services.py validate-modules:missing-main-call -plugins/modules/appliance_health_databasestorage_info.py import-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py import-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py import-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py compile-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_identity_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_storage_info.py import-2.6!skip -plugins/modules/appliance_health_storage_info.py compile-2.6!skip -plugins/modules/appliance_health_storage_info.py import-2.7!skip -plugins/modules/appliance_health_storage_info.py compile-2.7!skip -plugins/modules/appliance_health_storage_info.py import-3.5!skip -plugins/modules/appliance_health_storage_info.py compile-3.5!skip -plugins/modules/appliance_health_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_swap_info.py import-2.6!skip -plugins/modules/appliance_health_swap_info.py compile-2.6!skip -plugins/modules/appliance_health_swap_info.py import-2.7!skip -plugins/modules/appliance_health_swap_info.py compile-2.7!skip -plugins/modules/appliance_health_swap_info.py import-3.5!skip -plugins/modules/appliance_health_swap_info.py compile-3.5!skip -plugins/modules/appliance_health_swap_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_swap_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_swap_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_swap_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power.py import-2.6!skip -plugins/modules/vcenter_vm_power.py compile-2.6!skip -plugins/modules/vcenter_vm_power.py import-2.7!skip -plugins/modules/vcenter_vm_power.py compile-2.7!skip -plugins/modules/vcenter_vm_power.py import-3.5!skip -plugins/modules/vcenter_vm_power.py compile-3.5!skip -plugins/modules/vcenter_vm_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-main-call -plugins/modules/vcenter_storage_policies_info.py import-2.6!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.6!skip -plugins/modules/vcenter_storage_policies_info.py import-2.7!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.7!skip -plugins/modules/vcenter_storage_policies_info.py import-3.5!skip -plugins/modules/vcenter_storage_policies_info.py compile-3.5!skip -plugins/modules/vcenter_storage_policies_info.py future-import-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui.py import-2.6!skip -plugins/modules/appliance_access_dcui.py compile-2.6!skip -plugins/modules/appliance_access_dcui.py import-2.7!skip -plugins/modules/appliance_access_dcui.py compile-2.7!skip -plugins/modules/appliance_access_dcui.py import-3.5!skip -plugins/modules/appliance_access_dcui.py compile-3.5!skip -plugins/modules/appliance_access_dcui.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone_info.py import-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py import-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py import-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-main-call -plugins/modules/appliance_ntp.py import-2.6!skip -plugins/modules/appliance_ntp.py compile-2.6!skip -plugins/modules/appliance_ntp.py import-2.7!skip -plugins/modules/appliance_ntp.py compile-2.7!skip -plugins/modules/appliance_ntp.py import-3.5!skip -plugins/modules/appliance_ntp.py compile-3.5!skip -plugins/modules/appliance_ntp.py future-import-boilerplate!skip -plugins/modules/appliance_ntp.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter.py import-2.6!skip -plugins/modules/vcenter_datacenter.py compile-2.6!skip -plugins/modules/vcenter_datacenter.py import-2.7!skip -plugins/modules/vcenter_datacenter.py compile-2.7!skip -plugins/modules/vcenter_datacenter.py import-3.5!skip -plugins/modules/vcenter_datacenter.py compile-3.5!skip -plugins/modules/vcenter_datacenter.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone.py import-2.6!skip -plugins/modules/appliance_system_time_timezone.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone.py import-2.7!skip -plugins/modules/appliance_system_time_timezone.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone.py import-3.5!skip -plugins/modules/appliance_system_time_timezone.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell.py import-2.6!skip -plugins/modules/appliance_access_shell.py compile-2.6!skip -plugins/modules/appliance_access_shell.py import-2.7!skip -plugins/modules/appliance_access_shell.py compile-2.7!skip -plugins/modules/appliance_access_shell.py import-3.5!skip -plugins/modules/appliance_access_shell.py compile-3.5!skip -plugins/modules/appliance_access_shell.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_customization.py import-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py import-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py import-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool_info.py import-2.6!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.6!skip -plugins/modules/vcenter_resourcepool_info.py import-2.7!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.7!skip -plugins/modules/vcenter_resourcepool_info.py import-3.5!skip -plugins/modules/vcenter_resourcepool_info.py compile-3.5!skip -plugins/modules/vcenter_resourcepool_info.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-main-call -plugins/lookup/datastore_moid.py compile-2.6!skip -plugins/lookup/datastore_moid.py compile-2.7!skip -plugins/lookup/datastore_moid.py compile-3.5!skip -plugins/lookup/resource_pool_moid.py compile-2.6!skip -plugins/lookup/resource_pool_moid.py compile-2.7!skip -plugins/lookup/resource_pool_moid.py compile-3.5!skip -plugins/lookup/cluster_moid.py compile-2.6!skip -plugins/lookup/cluster_moid.py compile-2.7!skip -plugins/lookup/cluster_moid.py compile-3.5!skip -plugins/lookup/network_moid.py compile-2.6!skip -plugins/lookup/network_moid.py compile-2.7!skip -plugins/lookup/network_moid.py compile-3.5!skip -plugins/lookup/host_moid.py compile-2.6!skip -plugins/lookup/host_moid.py compile-2.7!skip -plugins/lookup/host_moid.py compile-3.5!skip -plugins/lookup/folder_moid.py compile-2.6!skip -plugins/lookup/folder_moid.py compile-2.7!skip -plugins/lookup/folder_moid.py compile-3.5!skip -plugins/lookup/vm_moid.py compile-2.6!skip -plugins/lookup/vm_moid.py compile-2.7!skip -plugins/lookup/vm_moid.py compile-3.5!skip -plugins/lookup/datacenter_moid.py compile-2.6!skip -plugins/lookup/datacenter_moid.py compile-2.7!skip -plugins/lookup/datacenter_moid.py compile-3.5!skip -plugins/module_utils/vmware_rest.py future-import-boilerplate!skip -plugins/module_utils/vmware_rest.py metaclass-boilerplate!skip -plugins/module_utils/vmware_rest.py import-2.6!skip -plugins/module_utils/vmware_rest.py compile-2.6!skip -plugins/module_utils/vmware_rest.py import-2.7!skip -plugins/module_utils/vmware_rest.py compile-2.7!skip -plugins/module_utils/vmware_rest.py import-3.5!skip -plugins/module_utils/vmware_rest.py compile-3.5!skip -plugins/plugin_utils/lookup.py compile-2.6!skip -plugins/plugin_utils/lookup.py compile-2.7!skip -plugins/plugin_utils/lookup.py compile-3.5!skip diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.11.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.11.txt deleted file mode 100644 index e5ce7de06..000000000 --- a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.11.txt +++ /dev/null @@ -1,1384 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip -plugins/modules/appliance_vmon_service.py import-2.6!skip -plugins/modules/appliance_vmon_service.py compile-2.6!skip -plugins/modules/appliance_vmon_service.py import-2.7!skip -plugins/modules/appliance_vmon_service.py compile-2.7!skip -plugins/modules/appliance_vmon_service.py import-3.5!skip -plugins/modules/appliance_vmon_service.py compile-3.5!skip -plugins/modules/appliance_vmon_service.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service.py validate-modules:missing-main-call -plugins/modules/vcenter_host.py import-2.6!skip -plugins/modules/vcenter_host.py compile-2.6!skip -plugins/modules/vcenter_host.py import-2.7!skip -plugins/modules/vcenter_host.py compile-2.7!skip -plugins/modules/vcenter_host.py import-3.5!skip -plugins/modules/vcenter_host.py compile-3.5!skip -plugins/modules/vcenter_host.py future-import-boilerplate!skip -plugins/modules/vcenter_host.py metaclass-boilerplate!skip -plugins/modules/vcenter_host.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_info.py import-2.6!skip -plugins/modules/appliance_monitoring_info.py compile-2.6!skip -plugins/modules/appliance_monitoring_info.py import-2.7!skip -plugins/modules/appliance_monitoring_info.py compile-2.7!skip -plugins/modules/appliance_monitoring_info.py import-3.5!skip -plugins/modules/appliance_monitoring_info.py compile-3.5!skip -plugins/modules/appliance_monitoring_info.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_info.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_info.py import-2.6!skip -plugins/modules/appliance_networking_info.py compile-2.6!skip -plugins/modules/appliance_networking_info.py import-2.7!skip -plugins/modules/appliance_networking_info.py compile-2.7!skip -plugins/modules/appliance_networking_info.py import-3.5!skip -plugins/modules/appliance_networking_info.py compile-3.5!skip -plugins/modules/appliance_networking_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_libraryitem_info.py import-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync_info.py import-2.6!skip -plugins/modules/appliance_timesync_info.py compile-2.6!skip -plugins/modules/appliance_timesync_info.py import-2.7!skip -plugins/modules/appliance_timesync_info.py compile-2.7!skip -plugins/modules/appliance_timesync_info.py import-3.5!skip -plugins/modules/appliance_timesync_info.py compile-3.5!skip -plugins/modules/appliance_timesync_info.py future-import-boilerplate!skip -plugins/modules/appliance_timesync_info.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync_info.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary_info.py import-2.6!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.6!skip -plugins/modules/content_subscribedlibrary_info.py import-2.7!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.7!skip -plugins/modules/content_subscribedlibrary_info.py import-3.5!skip -plugins/modules/content_subscribedlibrary_info.py compile-3.5!skip -plugins/modules/content_subscribedlibrary_info.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_datastore_info.py import-2.6!skip -plugins/modules/vcenter_datastore_info.py compile-2.6!skip -plugins/modules/vcenter_datastore_info.py import-2.7!skip -plugins/modules/vcenter_datastore_info.py compile-2.7!skip -plugins/modules/vcenter_datastore_info.py import-3.5!skip -plugins/modules/vcenter_datastore_info.py compile-3.5!skip -plugins/modules/vcenter_datastore_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datastore_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datastore_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datastore_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh_info.py import-2.6!skip -plugins/modules/appliance_access_ssh_info.py compile-2.6!skip -plugins/modules/appliance_access_ssh_info.py import-2.7!skip -plugins/modules/appliance_access_ssh_info.py compile-2.7!skip -plugins/modules/appliance_access_ssh_info.py import-3.5!skip -plugins/modules/appliance_access_ssh_info.py compile-3.5!skip -plugins/modules/appliance_access_ssh_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli_info.py import-2.6!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.6!skip -plugins/modules/appliance_access_consolecli_info.py import-2.7!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.7!skip -plugins/modules/appliance_access_consolecli_info.py import-3.5!skip -plugins/modules/appliance_access_consolecli_info.py compile-3.5!skip -plugins/modules/appliance_access_consolecli_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-main-call -plugins/modules/content_locallibrary.py import-2.6!skip -plugins/modules/content_locallibrary.py compile-2.6!skip -plugins/modules/content_locallibrary.py import-2.7!skip -plugins/modules/content_locallibrary.py compile-2.7!skip -plugins/modules/content_locallibrary.py import-3.5!skip -plugins/modules/content_locallibrary.py compile-3.5!skip -plugins/modules/content_locallibrary.py future-import-boilerplate!skip -plugins/modules/content_locallibrary.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary.py validate-modules:missing-main-call -plugins/modules/appliance_update_info.py import-2.6!skip -plugins/modules/appliance_update_info.py compile-2.6!skip -plugins/modules/appliance_update_info.py import-2.7!skip -plugins/modules/appliance_update_info.py compile-2.7!skip -plugins/modules/appliance_update_info.py import-3.5!skip -plugins/modules/appliance_update_info.py compile-3.5!skip -plugins/modules/appliance_update_info.py future-import-boilerplate!skip -plugins/modules/appliance_update_info.py metaclass-boilerplate!skip -plugins/modules/appliance_update_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_update_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-main-call -plugins/modules/appliance_ntp_info.py import-2.6!skip -plugins/modules/appliance_ntp_info.py compile-2.6!skip -plugins/modules/appliance_ntp_info.py import-2.7!skip -plugins/modules/appliance_ntp_info.py compile-2.7!skip -plugins/modules/appliance_ntp_info.py import-3.5!skip -plugins/modules/appliance_ntp_info.py compile-3.5!skip -plugins/modules/appliance_ntp_info.py future-import-boilerplate!skip -plugins/modules/appliance_ntp_info.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli.py import-2.6!skip -plugins/modules/appliance_access_consolecli.py compile-2.6!skip -plugins/modules/appliance_access_consolecli.py import-2.7!skip -plugins/modules/appliance_access_consolecli.py compile-2.7!skip -plugins/modules/appliance_access_consolecli.py import-3.5!skip -plugins/modules/appliance_access_consolecli.py compile-3.5!skip -plugins/modules/appliance_access_consolecli.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter_info.py import-2.6!skip -plugins/modules/vcenter_datacenter_info.py compile-2.6!skip -plugins/modules/vcenter_datacenter_info.py import-2.7!skip -plugins/modules/vcenter_datacenter_info.py compile-2.7!skip -plugins/modules/vcenter_datacenter_info.py import-3.5!skip -plugins/modules/vcenter_datacenter_info.py compile-3.5!skip -plugins/modules/vcenter_datacenter_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_version_info.py import-2.6!skip -plugins/modules/appliance_system_version_info.py compile-2.6!skip -plugins/modules/appliance_system_version_info.py import-2.7!skip -plugins/modules/appliance_system_version_info.py compile-2.7!skip -plugins/modules/appliance_system_version_info.py import-3.5!skip -plugins/modules/appliance_system_version_info.py compile-3.5!skip -plugins/modules/appliance_system_version_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_version_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_version_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_version_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_applmgmt_info.py import-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py import-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py import-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py compile-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage_info.py import-2.6!skip -plugins/modules/appliance_system_storage_info.py compile-2.6!skip -plugins/modules/appliance_system_storage_info.py import-2.7!skip -plugins/modules/appliance_system_storage_info.py compile-2.7!skip -plugins/modules/appliance_system_storage_info.py import-3.5!skip -plugins/modules/appliance_system_storage_info.py compile-3.5!skip -plugins/modules/appliance_system_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs_info.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell_info.py import-2.6!skip -plugins/modules/appliance_access_shell_info.py compile-2.6!skip -plugins/modules/appliance_access_shell_info.py import-2.7!skip -plugins/modules/appliance_access_shell_info.py compile-2.7!skip -plugins/modules/appliance_access_shell_info.py import-3.5!skip -plugins/modules/appliance_access_shell_info.py compile-3.5!skip -plugins/modules/appliance_access_shell_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_mem_info.py import-2.6!skip -plugins/modules/appliance_health_mem_info.py compile-2.6!skip -plugins/modules/appliance_health_mem_info.py import-2.7!skip -plugins/modules/appliance_health_mem_info.py compile-2.7!skip -plugins/modules/appliance_health_mem_info.py import-3.5!skip -plugins/modules/appliance_health_mem_info.py compile-3.5!skip -plugins/modules/appliance_health_mem_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_mem_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_mem_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_mem_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_operations_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_query.py import-2.6!skip -plugins/modules/appliance_monitoring_query.py compile-2.6!skip -plugins/modules/appliance_monitoring_query.py import-2.7!skip -plugins/modules/appliance_monitoring_query.py compile-2.7!skip -plugins/modules/appliance_monitoring_query.py import-3.5!skip -plugins/modules/appliance_monitoring_query.py compile-3.5!skip -plugins/modules/appliance_monitoring_query.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_query.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_query.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_query.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool.py import-2.6!skip -plugins/modules/vcenter_resourcepool.py compile-2.6!skip -plugins/modules/vcenter_resourcepool.py import-2.7!skip -plugins/modules/vcenter_resourcepool.py compile-2.7!skip -plugins/modules/vcenter_resourcepool.py import-3.5!skip -plugins/modules/vcenter_resourcepool.py compile-3.5!skip -plugins/modules/vcenter_resourcepool.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy.py import-2.6!skip -plugins/modules/appliance_networking_proxy.py compile-2.6!skip -plugins/modules/appliance_networking_proxy.py import-2.7!skip -plugins/modules/appliance_networking_proxy.py compile-2.7!skip -plugins/modules/appliance_networking_proxy.py import-3.5!skip -plugins/modules/appliance_networking_proxy.py compile-3.5!skip -plugins/modules/appliance_networking_proxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_system_info.py import-2.6!skip -plugins/modules/appliance_health_system_info.py compile-2.6!skip -plugins/modules/appliance_health_system_info.py import-2.7!skip -plugins/modules/appliance_health_system_info.py compile-2.7!skip -plugins/modules/appliance_health_system_info.py import-3.5!skip -plugins/modules/appliance_health_system_info.py compile-3.5!skip -plugins/modules/appliance_health_system_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_system_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_system_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_system_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking.py import-2.6!skip -plugins/modules/appliance_networking.py compile-2.6!skip -plugins/modules/appliance_networking.py import-2.7!skip -plugins/modules/appliance_networking.py compile-2.7!skip -plugins/modules/appliance_networking.py import-3.5!skip -plugins/modules/appliance_networking.py compile-3.5!skip -plugins/modules/appliance_networking.py future-import-boilerplate!skip -plugins/modules/appliance_networking.py metaclass-boilerplate!skip -plugins/modules/appliance_networking.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-main-call -plugins/modules/content_configuration_info.py import-2.6!skip -plugins/modules/content_configuration_info.py compile-2.6!skip -plugins/modules/content_configuration_info.py import-2.7!skip -plugins/modules/content_configuration_info.py compile-2.7!skip -plugins/modules/content_configuration_info.py import-3.5!skip -plugins/modules/content_configuration_info.py compile-3.5!skip -plugins/modules/content_configuration_info.py future-import-boilerplate!skip -plugins/modules/content_configuration_info.py metaclass-boilerplate!skip -plugins/modules/content_configuration_info.py validate-modules:missing-if-name-main -plugins/modules/content_configuration_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-main-call -plugins/modules/vcenter_folder_info.py import-2.6!skip -plugins/modules/vcenter_folder_info.py compile-2.6!skip -plugins/modules/vcenter_folder_info.py import-2.7!skip -plugins/modules/vcenter_folder_info.py compile-2.7!skip -plugins/modules/vcenter_folder_info.py import-3.5!skip -plugins/modules/vcenter_folder_info.py compile-3.5!skip -plugins/modules/vcenter_folder_info.py future-import-boilerplate!skip -plugins/modules/vcenter_folder_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_folder_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_folder_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_info.py import-2.6!skip -plugins/modules/appliance_system_time_info.py compile-2.6!skip -plugins/modules/appliance_system_time_info.py import-2.7!skip -plugins/modules/appliance_system_time_info.py compile-2.7!skip -plugins/modules/appliance_system_time_info.py import-3.5!skip -plugins/modules/appliance_system_time_info.py compile-3.5!skip -plugins/modules/appliance_system_time_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_load_info.py import-2.6!skip -plugins/modules/appliance_health_load_info.py compile-2.6!skip -plugins/modules/appliance_health_load_info.py import-2.7!skip -plugins/modules/appliance_health_load_info.py compile-2.7!skip -plugins/modules/appliance_health_load_info.py import-3.5!skip -plugins/modules/appliance_health_load_info.py compile-3.5!skip -plugins/modules/appliance_health_load_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_load_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_load_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_load_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools.py import-2.6!skip -plugins/modules/vcenter_vm_tools.py compile-2.6!skip -plugins/modules/vcenter_vm_tools.py import-2.7!skip -plugins/modules/vcenter_vm_tools.py compile-2.7!skip -plugins/modules/vcenter_vm_tools.py import-3.5!skip -plugins/modules/vcenter_vm_tools.py compile-3.5!skip -plugins/modules/vcenter_vm_tools.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_info.py import-2.6!skip -plugins/modules/vcenter_vm_info.py compile-2.6!skip -plugins/modules/vcenter_vm_info.py import-2.7!skip -plugins/modules/vcenter_vm_info.py compile-2.7!skip -plugins/modules/vcenter_vm_info.py import-3.5!skip -plugins/modules/vcenter_vm_info.py compile-3.5!skip -plugins/modules/vcenter_vm_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary.py import-2.6!skip -plugins/modules/content_subscribedlibrary.py compile-2.6!skip -plugins/modules/content_subscribedlibrary.py import-2.7!skip -plugins/modules/content_subscribedlibrary.py compile-2.7!skip -plugins/modules/content_subscribedlibrary.py import-3.5!skip -plugins/modules/content_subscribedlibrary.py compile-3.5!skip -plugins/modules/content_subscribedlibrary.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips_info.py import-2.6!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.6!skip -plugins/modules/appliance_system_globalfips_info.py import-2.7!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.7!skip -plugins/modules/appliance_system_globalfips_info.py import-3.5!skip -plugins/modules/appliance_system_globalfips_info.py compile-3.5!skip -plugins/modules/appliance_system_globalfips_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-main-call -plugins/modules/appliance_services_info.py import-2.6!skip -plugins/modules/appliance_services_info.py compile-2.6!skip -plugins/modules/appliance_services_info.py import-2.7!skip -plugins/modules/appliance_services_info.py compile-2.7!skip -plugins/modules/appliance_services_info.py import-3.5!skip -plugins/modules/appliance_services_info.py compile-3.5!skip -plugins/modules/appliance_services_info.py future-import-boilerplate!skip -plugins/modules/appliance_services_info.py metaclass-boilerplate!skip -plugins/modules/appliance_services_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_services_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-main-call -plugins/modules/content_configuration.py import-2.6!skip -plugins/modules/content_configuration.py compile-2.6!skip -plugins/modules/content_configuration.py import-2.7!skip -plugins/modules/content_configuration.py compile-2.7!skip -plugins/modules/content_configuration.py import-3.5!skip -plugins/modules/content_configuration.py compile-3.5!skip -plugins/modules/content_configuration.py future-import-boilerplate!skip -plugins/modules/content_configuration.py metaclass-boilerplate!skip -plugins/modules/content_configuration.py validate-modules:missing-if-name-main -plugins/modules/content_configuration.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-main-call -plugins/modules/content_locallibrary_info.py import-2.6!skip -plugins/modules/content_locallibrary_info.py compile-2.6!skip -plugins/modules/content_locallibrary_info.py import-2.7!skip -plugins/modules/content_locallibrary_info.py compile-2.7!skip -plugins/modules/content_locallibrary_info.py import-3.5!skip -plugins/modules/content_locallibrary_info.py compile-3.5!skip -plugins/modules/content_locallibrary_info.py future-import-boilerplate!skip -plugins/modules/content_locallibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy_info.py import-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py import-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py import-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh.py import-2.6!skip -plugins/modules/appliance_access_ssh.py compile-2.6!skip -plugins/modules/appliance_access_ssh.py import-2.7!skip -plugins/modules/appliance_access_ssh.py compile-2.7!skip -plugins/modules/appliance_access_ssh.py import-3.5!skip -plugins/modules/appliance_access_ssh.py compile-3.5!skip -plugins/modules/appliance_access_ssh.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh.py validate-modules:missing-main-call -plugins/modules/appliance_health_softwarepackages_info.py import-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py import-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py import-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_database_info.py import-2.6!skip -plugins/modules/appliance_health_database_info.py compile-2.6!skip -plugins/modules/appliance_health_database_info.py import-2.7!skip -plugins/modules/appliance_health_database_info.py compile-2.7!skip -plugins/modules/appliance_health_database_info.py import-3.5!skip -plugins/modules/appliance_health_database_info.py compile-3.5!skip -plugins/modules/appliance_health_database_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_database_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_database_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_database_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-main-call -plugins/modules/content_library_item_info.py import-2.6!skip -plugins/modules/content_library_item_info.py compile-2.6!skip -plugins/modules/content_library_item_info.py import-2.7!skip -plugins/modules/content_library_item_info.py compile-2.7!skip -plugins/modules/content_library_item_info.py import-3.5!skip -plugins/modules/content_library_item_info.py compile-3.5!skip -plugins/modules/content_library_item_info.py future-import-boilerplate!skip -plugins/modules/content_library_item_info.py metaclass-boilerplate!skip -plugins/modules/content_library_item_info.py validate-modules:missing-if-name-main -plugins/modules/content_library_item_info.py validate-modules:missing-main-call -plugins/modules/appliance_vmon_service_info.py import-2.6!skip -plugins/modules/appliance_vmon_service_info.py compile-2.6!skip -plugins/modules/appliance_vmon_service_info.py import-2.7!skip -plugins/modules/appliance_vmon_service_info.py compile-2.7!skip -plugins/modules/appliance_vmon_service_info.py import-3.5!skip -plugins/modules/appliance_vmon_service_info.py compile-3.5!skip -plugins/modules/appliance_vmon_service_info.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy.py import-2.6!skip -plugins/modules/appliance_networking_noproxy.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy.py import-2.7!skip -plugins/modules/appliance_networking_noproxy.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy.py import-3.5!skip -plugins/modules/appliance_networking_noproxy.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui_info.py import-2.6!skip -plugins/modules/appliance_access_dcui_info.py compile-2.6!skip -plugins/modules/appliance_access_dcui_info.py import-2.7!skip -plugins/modules/appliance_access_dcui_info.py compile-2.7!skip -plugins/modules/appliance_access_dcui_info.py import-3.5!skip -plugins/modules/appliance_access_dcui_info.py compile-3.5!skip -plugins/modules/appliance_access_dcui_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-main-call -plugins/modules/vcenter_ovf_libraryitem.py import-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py import-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py import-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py future-import-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py metaclass-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-if-name-main -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips.py import-2.6!skip -plugins/modules/appliance_system_globalfips.py compile-2.6!skip -plugins/modules/appliance_system_globalfips.py import-2.7!skip -plugins/modules/appliance_system_globalfips.py compile-2.7!skip -plugins/modules/appliance_system_globalfips.py import-3.5!skip -plugins/modules/appliance_system_globalfips.py compile-3.5!skip -plugins/modules/appliance_system_globalfips.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown.py import-2.6!skip -plugins/modules/appliance_shutdown.py compile-2.6!skip -plugins/modules/appliance_shutdown.py import-2.7!skip -plugins/modules/appliance_shutdown.py compile-2.7!skip -plugins/modules/appliance_shutdown.py import-3.5!skip -plugins/modules/appliance_shutdown.py compile-3.5!skip -plugins/modules/appliance_shutdown.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-main-call -plugins/modules/vcenter_host_info.py import-2.6!skip -plugins/modules/vcenter_host_info.py compile-2.6!skip -plugins/modules/vcenter_host_info.py import-2.7!skip -plugins/modules/vcenter_host_info.py compile-2.7!skip -plugins/modules/vcenter_host_info.py import-3.5!skip -plugins/modules/vcenter_host_info.py compile-3.5!skip -plugins/modules/vcenter_host_info.py future-import-boilerplate!skip -plugins/modules/vcenter_host_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_host_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync.py import-2.6!skip -plugins/modules/appliance_timesync.py compile-2.6!skip -plugins/modules/appliance_timesync.py import-2.7!skip -plugins/modules/appliance_timesync.py compile-2.7!skip -plugins/modules/appliance_timesync.py import-3.5!skip -plugins/modules/appliance_timesync.py compile-3.5!skip -plugins/modules/appliance_timesync.py future-import-boilerplate!skip -plugins/modules/appliance_timesync.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync.py validate-modules:missing-main-call -plugins/modules/vcenter_network_info.py import-2.6!skip -plugins/modules/vcenter_network_info.py compile-2.6!skip -plugins/modules/vcenter_network_info.py import-2.7!skip -plugins/modules/vcenter_network_info.py compile-2.7!skip -plugins/modules/vcenter_network_info.py import-3.5!skip -plugins/modules/vcenter_network_info.py compile-3.5!skip -plugins/modules/vcenter_network_info.py future-import-boilerplate!skip -plugins/modules/vcenter_network_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_network_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_network_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown_info.py import-2.6!skip -plugins/modules/appliance_shutdown_info.py compile-2.6!skip -plugins/modules/appliance_shutdown_info.py import-2.7!skip -plugins/modules/appliance_shutdown_info.py compile-2.7!skip -plugins/modules/appliance_shutdown_info.py import-3.5!skip -plugins/modules/appliance_shutdown_info.py compile-3.5!skip -plugins/modules/appliance_shutdown_info.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown_info.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-main-call -plugins/modules/vcenter_cluster_info.py import-2.6!skip -plugins/modules/vcenter_cluster_info.py compile-2.6!skip -plugins/modules/vcenter_cluster_info.py import-2.7!skip -plugins/modules/vcenter_cluster_info.py compile-2.7!skip -plugins/modules/vcenter_cluster_info.py import-3.5!skip -plugins/modules/vcenter_cluster_info.py compile-3.5!skip -plugins/modules/vcenter_cluster_info.py future-import-boilerplate!skip -plugins/modules/vcenter_cluster_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_cluster_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_cluster_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage.py import-2.6!skip -plugins/modules/appliance_system_storage.py compile-2.6!skip -plugins/modules/appliance_system_storage.py import-2.7!skip -plugins/modules/appliance_system_storage.py compile-2.7!skip -plugins/modules/appliance_system_storage.py import-3.5!skip -plugins/modules/appliance_system_storage.py compile-3.5!skip -plugins/modules/appliance_system_storage.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm.py import-2.6!skip -plugins/modules/vcenter_vm.py compile-2.6!skip -plugins/modules/vcenter_vm.py import-2.7!skip -plugins/modules/vcenter_vm.py compile-2.7!skip -plugins/modules/vcenter_vm.py import-3.5!skip -plugins/modules/vcenter_vm.py compile-3.5!skip -plugins/modules/vcenter_vm.py future-import-boilerplate!skip -plugins/modules/vcenter_vm.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy_info.py import-2.6!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_proxy_info.py import-2.7!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_proxy_info.py import-3.5!skip -plugins/modules/appliance_networking_proxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_proxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware.py import-2.6!skip -plugins/modules/vcenter_vm_hardware.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware.py import-2.7!skip -plugins/modules/vcenter_vm_hardware.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware.py import-3.5!skip -plugins/modules/vcenter_vm_hardware.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-main-call -plugins/modules/appliance_services.py import-2.6!skip -plugins/modules/appliance_services.py compile-2.6!skip -plugins/modules/appliance_services.py import-2.7!skip -plugins/modules/appliance_services.py compile-2.7!skip -plugins/modules/appliance_services.py import-3.5!skip -plugins/modules/appliance_services.py compile-3.5!skip -plugins/modules/appliance_services.py future-import-boilerplate!skip -plugins/modules/appliance_services.py metaclass-boilerplate!skip -plugins/modules/appliance_services.py validate-modules:missing-if-name-main -plugins/modules/appliance_services.py validate-modules:missing-main-call -plugins/modules/appliance_health_databasestorage_info.py import-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py import-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py import-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py compile-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_identity_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_storage_info.py import-2.6!skip -plugins/modules/appliance_health_storage_info.py compile-2.6!skip -plugins/modules/appliance_health_storage_info.py import-2.7!skip -plugins/modules/appliance_health_storage_info.py compile-2.7!skip -plugins/modules/appliance_health_storage_info.py import-3.5!skip -plugins/modules/appliance_health_storage_info.py compile-3.5!skip -plugins/modules/appliance_health_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_swap_info.py import-2.6!skip -plugins/modules/appliance_health_swap_info.py compile-2.6!skip -plugins/modules/appliance_health_swap_info.py import-2.7!skip -plugins/modules/appliance_health_swap_info.py compile-2.7!skip -plugins/modules/appliance_health_swap_info.py import-3.5!skip -plugins/modules/appliance_health_swap_info.py compile-3.5!skip -plugins/modules/appliance_health_swap_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_swap_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_swap_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_swap_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power.py import-2.6!skip -plugins/modules/vcenter_vm_power.py compile-2.6!skip -plugins/modules/vcenter_vm_power.py import-2.7!skip -plugins/modules/vcenter_vm_power.py compile-2.7!skip -plugins/modules/vcenter_vm_power.py import-3.5!skip -plugins/modules/vcenter_vm_power.py compile-3.5!skip -plugins/modules/vcenter_vm_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-main-call -plugins/modules/vcenter_storage_policies_info.py import-2.6!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.6!skip -plugins/modules/vcenter_storage_policies_info.py import-2.7!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.7!skip -plugins/modules/vcenter_storage_policies_info.py import-3.5!skip -plugins/modules/vcenter_storage_policies_info.py compile-3.5!skip -plugins/modules/vcenter_storage_policies_info.py future-import-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui.py import-2.6!skip -plugins/modules/appliance_access_dcui.py compile-2.6!skip -plugins/modules/appliance_access_dcui.py import-2.7!skip -plugins/modules/appliance_access_dcui.py compile-2.7!skip -plugins/modules/appliance_access_dcui.py import-3.5!skip -plugins/modules/appliance_access_dcui.py compile-3.5!skip -plugins/modules/appliance_access_dcui.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone_info.py import-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py import-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py import-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-main-call -plugins/modules/appliance_ntp.py import-2.6!skip -plugins/modules/appliance_ntp.py compile-2.6!skip -plugins/modules/appliance_ntp.py import-2.7!skip -plugins/modules/appliance_ntp.py compile-2.7!skip -plugins/modules/appliance_ntp.py import-3.5!skip -plugins/modules/appliance_ntp.py compile-3.5!skip -plugins/modules/appliance_ntp.py future-import-boilerplate!skip -plugins/modules/appliance_ntp.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter.py import-2.6!skip -plugins/modules/vcenter_datacenter.py compile-2.6!skip -plugins/modules/vcenter_datacenter.py import-2.7!skip -plugins/modules/vcenter_datacenter.py compile-2.7!skip -plugins/modules/vcenter_datacenter.py import-3.5!skip -plugins/modules/vcenter_datacenter.py compile-3.5!skip -plugins/modules/vcenter_datacenter.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone.py import-2.6!skip -plugins/modules/appliance_system_time_timezone.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone.py import-2.7!skip -plugins/modules/appliance_system_time_timezone.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone.py import-3.5!skip -plugins/modules/appliance_system_time_timezone.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell.py import-2.6!skip -plugins/modules/appliance_access_shell.py compile-2.6!skip -plugins/modules/appliance_access_shell.py import-2.7!skip -plugins/modules/appliance_access_shell.py compile-2.7!skip -plugins/modules/appliance_access_shell.py import-3.5!skip -plugins/modules/appliance_access_shell.py compile-3.5!skip -plugins/modules/appliance_access_shell.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_customization.py import-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py import-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py import-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool_info.py import-2.6!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.6!skip -plugins/modules/vcenter_resourcepool_info.py import-2.7!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.7!skip -plugins/modules/vcenter_resourcepool_info.py import-3.5!skip -plugins/modules/vcenter_resourcepool_info.py compile-3.5!skip -plugins/modules/vcenter_resourcepool_info.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-main-call -plugins/lookup/datastore_moid.py import-2.6!skip -plugins/lookup/datastore_moid.py compile-2.6!skip -plugins/lookup/datastore_moid.py import-2.7!skip -plugins/lookup/datastore_moid.py compile-2.7!skip -plugins/lookup/datastore_moid.py import-3.5!skip -plugins/lookup/datastore_moid.py compile-3.5!skip -plugins/lookup/resource_pool_moid.py import-2.6!skip -plugins/lookup/resource_pool_moid.py compile-2.6!skip -plugins/lookup/resource_pool_moid.py import-2.7!skip -plugins/lookup/resource_pool_moid.py compile-2.7!skip -plugins/lookup/resource_pool_moid.py import-3.5!skip -plugins/lookup/resource_pool_moid.py compile-3.5!skip -plugins/lookup/cluster_moid.py import-2.6!skip -plugins/lookup/cluster_moid.py compile-2.6!skip -plugins/lookup/cluster_moid.py import-2.7!skip -plugins/lookup/cluster_moid.py compile-2.7!skip -plugins/lookup/cluster_moid.py import-3.5!skip -plugins/lookup/cluster_moid.py compile-3.5!skip -plugins/lookup/network_moid.py import-2.6!skip -plugins/lookup/network_moid.py compile-2.6!skip -plugins/lookup/network_moid.py import-2.7!skip -plugins/lookup/network_moid.py compile-2.7!skip -plugins/lookup/network_moid.py import-3.5!skip -plugins/lookup/network_moid.py compile-3.5!skip -plugins/lookup/host_moid.py import-2.6!skip -plugins/lookup/host_moid.py compile-2.6!skip -plugins/lookup/host_moid.py import-2.7!skip -plugins/lookup/host_moid.py compile-2.7!skip -plugins/lookup/host_moid.py import-3.5!skip -plugins/lookup/host_moid.py compile-3.5!skip -plugins/lookup/folder_moid.py import-2.6!skip -plugins/lookup/folder_moid.py compile-2.6!skip -plugins/lookup/folder_moid.py import-2.7!skip -plugins/lookup/folder_moid.py compile-2.7!skip -plugins/lookup/folder_moid.py import-3.5!skip -plugins/lookup/folder_moid.py compile-3.5!skip -plugins/lookup/vm_moid.py import-2.6!skip -plugins/lookup/vm_moid.py compile-2.6!skip -plugins/lookup/vm_moid.py import-2.7!skip -plugins/lookup/vm_moid.py compile-2.7!skip -plugins/lookup/vm_moid.py import-3.5!skip -plugins/lookup/vm_moid.py compile-3.5!skip -plugins/lookup/datacenter_moid.py import-2.6!skip -plugins/lookup/datacenter_moid.py compile-2.6!skip -plugins/lookup/datacenter_moid.py import-2.7!skip -plugins/lookup/datacenter_moid.py compile-2.7!skip -plugins/lookup/datacenter_moid.py import-3.5!skip -plugins/lookup/datacenter_moid.py compile-3.5!skip -plugins/module_utils/vmware_rest.py future-import-boilerplate!skip -plugins/module_utils/vmware_rest.py metaclass-boilerplate!skip -plugins/module_utils/vmware_rest.py import-2.6!skip -plugins/module_utils/vmware_rest.py compile-2.6!skip -plugins/module_utils/vmware_rest.py import-2.7!skip -plugins/module_utils/vmware_rest.py compile-2.7!skip -plugins/module_utils/vmware_rest.py import-3.5!skip -plugins/module_utils/vmware_rest.py compile-3.5!skip -plugins/plugin_utils/lookup.py import-2.6!skip -plugins/plugin_utils/lookup.py compile-2.6!skip -plugins/plugin_utils/lookup.py import-2.7!skip -plugins/plugin_utils/lookup.py compile-2.7!skip -plugins/plugin_utils/lookup.py import-3.5!skip -plugins/plugin_utils/lookup.py compile-3.5!skip diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.12.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.12.txt deleted file mode 100644 index f55cc3e59..000000000 --- a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.12.txt +++ /dev/null @@ -1,2 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.13.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.13.txt deleted file mode 100644 index f55cc3e59..000000000 --- a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.13.txt +++ /dev/null @@ -1,2 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.16.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.16.txt new file mode 100644 index 000000000..9c3aa0c5c --- /dev/null +++ b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.16.txt @@ -0,0 +1,134 @@ +plugins/modules/vcenter_vm_guest_customization.py pep8!skip +plugins/modules/appliance_infraprofile_configs.py pep8!skip +plugins/modules/appliance_access_consolecli_info.py import-3.12!skip +plugins/modules/appliance_access_dcui.py import-3.12!skip +plugins/modules/appliance_access_dcui_info.py import-3.12!skip +plugins/modules/appliance_access_shell.py import-3.12!skip +plugins/modules/appliance_access_shell_info.py import-3.12!skip +plugins/modules/appliance_access_ssh.py import-3.12!skip +plugins/modules/appliance_access_ssh_info.py import-3.12!skip +plugins/modules/appliance_health_applmgmt_info.py import-3.12!skip +plugins/modules/appliance_health_database_info.py import-3.12!skip +plugins/modules/appliance_health_databasestorage_info.py import-3.12!skip +plugins/modules/appliance_health_load_info.py import-3.12!skip +plugins/modules/appliance_health_mem_info.py import-3.12!skip +plugins/modules/appliance_health_softwarepackages_info.py import-3.12!skip +plugins/modules/appliance_health_storage_info.py import-3.12!skip +plugins/modules/appliance_health_swap_info.py import-3.12!skip +plugins/modules/appliance_health_system_info.py import-3.12!skip +plugins/modules/appliance_infraprofile_configs.py import-3.12!skip +plugins/modules/appliance_infraprofile_configs_info.py import-3.12!skip +plugins/modules/appliance_localaccounts_globalpolicy.py import-3.12!skip +plugins/modules/appliance_localaccounts_globalpolicy_info.py import-3.12!skip +plugins/modules/appliance_localaccounts_info.py import-3.12!skip +plugins/modules/appliance_monitoring_info.py import-3.12!skip +plugins/modules/appliance_monitoring_query.py import-3.12!skip +plugins/modules/appliance_networking.py import-3.12!skip +plugins/modules/appliance_networking_dns_domains.py import-3.12!skip +plugins/modules/appliance_networking_dns_domains_info.py import-3.12!skip +plugins/modules/appliance_networking_dns_hostname.py import-3.12!skip +plugins/modules/appliance_networking_dns_hostname_info.py import-3.12!skip +plugins/modules/appliance_networking_dns_servers.py import-3.12!skip +plugins/modules/appliance_networking_dns_servers_info.py import-3.12!skip +plugins/modules/appliance_networking_firewall_inbound.py import-3.12!skip +plugins/modules/appliance_networking_firewall_inbound_info.py import-3.12!skip +plugins/modules/appliance_networking_info.py import-3.12!skip +plugins/modules/appliance_networking_interfaces_info.py import-3.12!skip +plugins/modules/appliance_networking_interfaces_ipv4.py import-3.12!skip +plugins/modules/appliance_networking_interfaces_ipv4_info.py import-3.12!skip +plugins/modules/appliance_networking_interfaces_ipv6.py import-3.12!skip +plugins/modules/appliance_networking_interfaces_ipv6_info.py import-3.12!skip +plugins/modules/appliance_networking_noproxy.py import-3.12!skip +plugins/modules/appliance_networking_noproxy_info.py import-3.12!skip +plugins/modules/appliance_networking_proxy.py import-3.12!skip +plugins/modules/appliance_networking_proxy_info.py import-3.12!skip +plugins/modules/appliance_ntp.py import-3.12!skip +plugins/modules/appliance_ntp_info.py import-3.12!skip +plugins/modules/appliance_services.py import-3.12!skip +plugins/modules/appliance_services_info.py import-3.12!skip +plugins/modules/appliance_shutdown.py import-3.12!skip +plugins/modules/appliance_shutdown_info.py import-3.12!skip +plugins/modules/appliance_system_globalfips.py import-3.12!skip +plugins/modules/appliance_system_globalfips_info.py import-3.12!skip +plugins/modules/appliance_system_storage.py import-3.12!skip +plugins/modules/appliance_system_storage_info.py import-3.12!skip +plugins/modules/appliance_system_time_info.py import-3.12!skip +plugins/modules/appliance_system_time_timezone.py import-3.12!skip +plugins/modules/appliance_system_time_timezone_info.py import-3.12!skip +plugins/modules/appliance_system_version_info.py import-3.12!skip +plugins/modules/appliance_timesync.py import-3.12!skip +plugins/modules/appliance_timesync_info.py import-3.12!skip +plugins/modules/appliance_update_info.py import-3.12!skip +plugins/modules/appliance_vmon_service.py import-3.12!skip +plugins/modules/appliance_vmon_service_info.py import-3.12!skip +plugins/modules/content_configuration.py import-3.12!skip +plugins/modules/content_configuration_info.py import-3.12!skip +plugins/modules/content_library_item_info.py import-3.12!skip +plugins/modules/content_locallibrary.py import-3.12!skip +plugins/modules/content_locallibrary_info.py import-3.12!skip +plugins/modules/content_subscribedlibrary.py import-3.12!skip +plugins/modules/content_subscribedlibrary_info.py import-3.12!skip +plugins/modules/vcenter_cluster_info.py import-3.12!skip +plugins/modules/vcenter_datacenter.py import-3.12!skip +plugins/modules/vcenter_datacenter_info.py import-3.12!skip +plugins/modules/vcenter_datastore_info.py import-3.12!skip +plugins/modules/vcenter_folder_info.py import-3.12!skip +plugins/modules/vcenter_host.py import-3.12!skip +plugins/modules/vcenter_host_info.py import-3.12!skip +plugins/modules/vcenter_network_info.py import-3.12!skip +plugins/modules/vcenter_ovf_libraryitem.py import-3.12!skip +plugins/modules/vcenter_resourcepool.py import-3.12!skip +plugins/modules/vcenter_resourcepool_info.py import-3.12!skip +plugins/modules/vcenter_storage_policies_info.py import-3.12!skip +plugins/modules/vcenter_vm.py import-3.12!skip +plugins/modules/vcenter_vm_guest_customization.py import-3.12!skip +plugins/modules/vcenter_vm_guest_filesystem_directories.py import-3.12!skip +plugins/modules/vcenter_vm_guest_identity_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_networking_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_networking_routes_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_operations_info.py import-3.12!skip +plugins/modules/vcenter_vm_guest_power.py import-3.12!skip +plugins/modules/vcenter_vm_guest_power_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_adapter_sata.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_boot.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_boot_device.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_boot_device_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_boot_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_cdrom.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_cdrom_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_cpu.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_cpu_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_disk.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_disk_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_ethernet.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_ethernet_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_floppy.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_floppy_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_memory.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_memory_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_parallel.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_parallel_info.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_serial.py import-3.12!skip +plugins/modules/vcenter_vm_hardware_serial_info.py import-3.12!skip +plugins/modules/vcenter_vm_info.py import-3.12!skip +plugins/modules/vcenter_vm_libraryitem_info.py import-3.12!skip +plugins/modules/vcenter_vm_power.py import-3.12!skip +plugins/modules/vcenter_vm_power_info.py import-3.12!skip +plugins/modules/vcenter_vm_storage_policy.py import-3.12!skip +plugins/modules/vcenter_vm_storage_policy_compliance.py import-3.12!skip +plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-3.12!skip +plugins/modules/vcenter_vm_storage_policy_info.py import-3.12!skip +plugins/modules/vcenter_vm_tools.py import-3.12!skip +plugins/modules/vcenter_vm_tools_info.py import-3.12!skip +plugins/modules/vcenter_vm_tools_installer.py import-3.12!skip +plugins/modules/vcenter_vm_tools_installer_info.py import-3.12!skip +plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-3.12!skip +plugins/modules/vcenter_vmtemplate_libraryitems.py import-3.12!skip +plugins/modules/appliance_access_consolecli.py import-3.12!skip diff --git a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.9.txt b/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.9.txt deleted file mode 100644 index 3afc028e5..000000000 --- a/ansible_collections/vmware/vmware_rest/tests/sanity/ignore-2.9.txt +++ /dev/null @@ -1,1357 +0,0 @@ -plugins/modules/vcenter_vm_guest_customization.py pep8!skip -plugins/modules/appliance_infraprofile_configs.py pep8!skip -plugins/modules/appliance_vmon_service.py import-2.6!skip -plugins/modules/appliance_vmon_service.py compile-2.6!skip -plugins/modules/appliance_vmon_service.py import-2.7!skip -plugins/modules/appliance_vmon_service.py compile-2.7!skip -plugins/modules/appliance_vmon_service.py import-3.5!skip -plugins/modules/appliance_vmon_service.py compile-3.5!skip -plugins/modules/appliance_vmon_service.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service.py validate-modules:missing-main-call -plugins/modules/vcenter_host.py import-2.6!skip -plugins/modules/vcenter_host.py compile-2.6!skip -plugins/modules/vcenter_host.py import-2.7!skip -plugins/modules/vcenter_host.py compile-2.7!skip -plugins/modules/vcenter_host.py import-3.5!skip -plugins/modules/vcenter_host.py compile-3.5!skip -plugins/modules/vcenter_host.py future-import-boilerplate!skip -plugins/modules/vcenter_host.py metaclass-boilerplate!skip -plugins/modules/vcenter_host.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_info.py import-2.6!skip -plugins/modules/appliance_monitoring_info.py compile-2.6!skip -plugins/modules/appliance_monitoring_info.py import-2.7!skip -plugins/modules/appliance_monitoring_info.py compile-2.7!skip -plugins/modules/appliance_monitoring_info.py import-3.5!skip -plugins/modules/appliance_monitoring_info.py compile-3.5!skip -plugins/modules/appliance_monitoring_info.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_info.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_info.py import-2.6!skip -plugins/modules/appliance_networking_info.py compile-2.6!skip -plugins/modules/appliance_networking_info.py import-2.7!skip -plugins/modules/appliance_networking_info.py compile-2.7!skip -plugins/modules/appliance_networking_info.py import-3.5!skip -plugins/modules/appliance_networking_info.py compile-3.5!skip -plugins/modules/appliance_networking_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_libraryitem_info.py import-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_libraryitem_info.py import-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_libraryitem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_libraryitem_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync_info.py import-2.6!skip -plugins/modules/appliance_timesync_info.py compile-2.6!skip -plugins/modules/appliance_timesync_info.py import-2.7!skip -plugins/modules/appliance_timesync_info.py compile-2.7!skip -plugins/modules/appliance_timesync_info.py import-3.5!skip -plugins/modules/appliance_timesync_info.py compile-3.5!skip -plugins/modules/appliance_timesync_info.py future-import-boilerplate!skip -plugins/modules/appliance_timesync_info.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync_info.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary_info.py import-2.6!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.6!skip -plugins/modules/content_subscribedlibrary_info.py import-2.7!skip -plugins/modules/content_subscribedlibrary_info.py compile-2.7!skip -plugins/modules/content_subscribedlibrary_info.py import-3.5!skip -plugins/modules/content_subscribedlibrary_info.py compile-3.5!skip -plugins/modules/content_subscribedlibrary_info.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_datastore_info.py import-2.6!skip -plugins/modules/vcenter_datastore_info.py compile-2.6!skip -plugins/modules/vcenter_datastore_info.py import-2.7!skip -plugins/modules/vcenter_datastore_info.py compile-2.7!skip -plugins/modules/vcenter_datastore_info.py import-3.5!skip -plugins/modules/vcenter_datastore_info.py compile-3.5!skip -plugins/modules/vcenter_datastore_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datastore_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datastore_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datastore_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh_info.py import-2.6!skip -plugins/modules/appliance_access_ssh_info.py compile-2.6!skip -plugins/modules/appliance_access_ssh_info.py import-2.7!skip -plugins/modules/appliance_access_ssh_info.py compile-2.7!skip -plugins/modules/appliance_access_ssh_info.py import-3.5!skip -plugins/modules/appliance_access_ssh_info.py compile-3.5!skip -plugins/modules/appliance_access_ssh_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli_info.py import-2.6!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.6!skip -plugins/modules/appliance_access_consolecli_info.py import-2.7!skip -plugins/modules/appliance_access_consolecli_info.py compile-2.7!skip -plugins/modules/appliance_access_consolecli_info.py import-3.5!skip -plugins/modules/appliance_access_consolecli_info.py compile-3.5!skip -plugins/modules/appliance_access_consolecli_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom.py validate-modules:missing-main-call -plugins/modules/content_locallibrary.py import-2.6!skip -plugins/modules/content_locallibrary.py compile-2.6!skip -plugins/modules/content_locallibrary.py import-2.7!skip -plugins/modules/content_locallibrary.py compile-2.7!skip -plugins/modules/content_locallibrary.py import-3.5!skip -plugins/modules/content_locallibrary.py compile-3.5!skip -plugins/modules/content_locallibrary.py future-import-boilerplate!skip -plugins/modules/content_locallibrary.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary.py validate-modules:missing-main-call -plugins/modules/appliance_update_info.py import-2.6!skip -plugins/modules/appliance_update_info.py compile-2.6!skip -plugins/modules/appliance_update_info.py import-2.7!skip -plugins/modules/appliance_update_info.py compile-2.7!skip -plugins/modules/appliance_update_info.py import-3.5!skip -plugins/modules/appliance_update_info.py compile-3.5!skip -plugins/modules/appliance_update_info.py future-import-boilerplate!skip -plugins/modules/appliance_update_info.py metaclass-boilerplate!skip -plugins/modules/appliance_update_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_update_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname.py validate-modules:missing-main-call -plugins/modules/appliance_ntp_info.py import-2.6!skip -plugins/modules/appliance_ntp_info.py compile-2.6!skip -plugins/modules/appliance_ntp_info.py import-2.7!skip -plugins/modules/appliance_ntp_info.py compile-2.7!skip -plugins/modules/appliance_ntp_info.py import-3.5!skip -plugins/modules/appliance_ntp_info.py compile-3.5!skip -plugins/modules/appliance_ntp_info.py future-import-boilerplate!skip -plugins/modules/appliance_ntp_info.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_consolecli.py import-2.6!skip -plugins/modules/appliance_access_consolecli.py compile-2.6!skip -plugins/modules/appliance_access_consolecli.py import-2.7!skip -plugins/modules/appliance_access_consolecli.py compile-2.7!skip -plugins/modules/appliance_access_consolecli.py import-3.5!skip -plugins/modules/appliance_access_consolecli.py compile-3.5!skip -plugins/modules/appliance_access_consolecli.py future-import-boilerplate!skip -plugins/modules/appliance_access_consolecli.py metaclass-boilerplate!skip -plugins/modules/appliance_access_consolecli.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_consolecli.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter_info.py import-2.6!skip -plugins/modules/vcenter_datacenter_info.py compile-2.6!skip -plugins/modules/vcenter_datacenter_info.py import-2.7!skip -plugins/modules/vcenter_datacenter_info.py compile-2.7!skip -plugins/modules/vcenter_datacenter_info.py import-3.5!skip -plugins/modules/vcenter_datacenter_info.py compile-3.5!skip -plugins/modules/vcenter_datacenter_info.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_version_info.py import-2.6!skip -plugins/modules/appliance_system_version_info.py compile-2.6!skip -plugins/modules/appliance_system_version_info.py import-2.7!skip -plugins/modules/appliance_system_version_info.py compile-2.7!skip -plugins/modules/appliance_system_version_info.py import-3.5!skip -plugins/modules/appliance_system_version_info.py compile-3.5!skip -plugins/modules/appliance_system_version_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_version_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_version_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_version_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_applmgmt_info.py import-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.6!skip -plugins/modules/appliance_health_applmgmt_info.py import-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py compile-2.7!skip -plugins/modules/appliance_health_applmgmt_info.py import-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py compile-3.5!skip -plugins/modules/appliance_health_applmgmt_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_applmgmt_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage_info.py import-2.6!skip -plugins/modules/appliance_system_storage_info.py compile-2.6!skip -plugins/modules/appliance_system_storage_info.py import-2.7!skip -plugins/modules/appliance_system_storage_info.py compile-2.7!skip -plugins/modules/appliance_system_storage_info.py import-3.5!skip -plugins/modules/appliance_system_storage_info.py compile-3.5!skip -plugins/modules/appliance_system_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs_info.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs_info.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs_info.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs_info.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell_info.py import-2.6!skip -plugins/modules/appliance_access_shell_info.py compile-2.6!skip -plugins/modules/appliance_access_shell_info.py import-2.7!skip -plugins/modules/appliance_access_shell_info.py compile-2.7!skip -plugins/modules/appliance_access_shell_info.py import-3.5!skip -plugins/modules/appliance_access_shell_info.py compile-3.5!skip -plugins/modules/appliance_access_shell_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_mem_info.py import-2.6!skip -plugins/modules/appliance_health_mem_info.py compile-2.6!skip -plugins/modules/appliance_health_mem_info.py import-2.7!skip -plugins/modules/appliance_health_mem_info.py compile-2.7!skip -plugins/modules/appliance_health_mem_info.py import-3.5!skip -plugins/modules/appliance_health_mem_info.py compile-3.5!skip -plugins/modules/appliance_health_mem_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_mem_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_mem_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_mem_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_operations_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_operations_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_operations_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_operations_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py import-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_filesystem_directories.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cdrom_info.py validate-modules:missing-main-call -plugins/modules/appliance_monitoring_query.py import-2.6!skip -plugins/modules/appliance_monitoring_query.py compile-2.6!skip -plugins/modules/appliance_monitoring_query.py import-2.7!skip -plugins/modules/appliance_monitoring_query.py compile-2.7!skip -plugins/modules/appliance_monitoring_query.py import-3.5!skip -plugins/modules/appliance_monitoring_query.py compile-3.5!skip -plugins/modules/appliance_monitoring_query.py future-import-boilerplate!skip -plugins/modules/appliance_monitoring_query.py metaclass-boilerplate!skip -plugins/modules/appliance_monitoring_query.py validate-modules:missing-if-name-main -plugins/modules/appliance_monitoring_query.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool.py import-2.6!skip -plugins/modules/vcenter_resourcepool.py compile-2.6!skip -plugins/modules/vcenter_resourcepool.py import-2.7!skip -plugins/modules/vcenter_resourcepool.py compile-2.7!skip -plugins/modules/vcenter_resourcepool.py import-3.5!skip -plugins/modules/vcenter_resourcepool.py compile-3.5!skip -plugins/modules/vcenter_resourcepool.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy.py import-2.6!skip -plugins/modules/appliance_networking_proxy.py compile-2.6!skip -plugins/modules/appliance_networking_proxy.py import-2.7!skip -plugins/modules/appliance_networking_proxy.py compile-2.7!skip -plugins/modules/appliance_networking_proxy.py import-3.5!skip -plugins/modules/appliance_networking_proxy.py compile-3.5!skip -plugins/modules/appliance_networking_proxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_system_info.py import-2.6!skip -plugins/modules/appliance_health_system_info.py compile-2.6!skip -plugins/modules/appliance_health_system_info.py import-2.7!skip -plugins/modules/appliance_health_system_info.py compile-2.7!skip -plugins/modules/appliance_health_system_info.py import-3.5!skip -plugins/modules/appliance_health_system_info.py compile-3.5!skip -plugins/modules/appliance_health_system_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_system_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_system_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_system_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking.py import-2.6!skip -plugins/modules/appliance_networking.py compile-2.6!skip -plugins/modules/appliance_networking.py import-2.7!skip -plugins/modules/appliance_networking.py compile-2.7!skip -plugins/modules/appliance_networking.py import-3.5!skip -plugins/modules/appliance_networking.py compile-3.5!skip -plugins/modules/appliance_networking.py future-import-boilerplate!skip -plugins/modules/appliance_networking.py metaclass-boilerplate!skip -plugins/modules/appliance_networking.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy_info.py validate-modules:missing-main-call -plugins/modules/content_configuration_info.py import-2.6!skip -plugins/modules/content_configuration_info.py compile-2.6!skip -plugins/modules/content_configuration_info.py import-2.7!skip -plugins/modules/content_configuration_info.py compile-2.7!skip -plugins/modules/content_configuration_info.py import-3.5!skip -plugins/modules/content_configuration_info.py compile-3.5!skip -plugins/modules/content_configuration_info.py future-import-boilerplate!skip -plugins/modules/content_configuration_info.py metaclass-boilerplate!skip -plugins/modules/content_configuration_info.py validate-modules:missing-if-name-main -plugins/modules/content_configuration_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu.py validate-modules:missing-main-call -plugins/modules/vcenter_folder_info.py import-2.6!skip -plugins/modules/vcenter_folder_info.py compile-2.6!skip -plugins/modules/vcenter_folder_info.py import-2.7!skip -plugins/modules/vcenter_folder_info.py compile-2.7!skip -plugins/modules/vcenter_folder_info.py import-3.5!skip -plugins/modules/vcenter_folder_info.py compile-3.5!skip -plugins/modules/vcenter_folder_info.py future-import-boilerplate!skip -plugins/modules/vcenter_folder_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_folder_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_folder_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_info.py import-2.6!skip -plugins/modules/appliance_system_time_info.py compile-2.6!skip -plugins/modules/appliance_system_time_info.py import-2.7!skip -plugins/modules/appliance_system_time_info.py compile-2.7!skip -plugins/modules/appliance_system_time_info.py import-3.5!skip -plugins/modules/appliance_system_time_info.py compile-3.5!skip -plugins/modules/appliance_system_time_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_localfilesystem_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_load_info.py import-2.6!skip -plugins/modules/appliance_health_load_info.py compile-2.6!skip -plugins/modules/appliance_health_load_info.py import-2.7!skip -plugins/modules/appliance_health_load_info.py compile-2.7!skip -plugins/modules/appliance_health_load_info.py import-3.5!skip -plugins/modules/appliance_health_load_info.py compile-3.5!skip -plugins/modules/appliance_health_load_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_load_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_load_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_load_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools.py import-2.6!skip -plugins/modules/vcenter_vm_tools.py compile-2.6!skip -plugins/modules/vcenter_vm_tools.py import-2.7!skip -plugins/modules/vcenter_vm_tools.py compile-2.7!skip -plugins/modules/vcenter_vm_tools.py import-3.5!skip -plugins/modules/vcenter_vm_tools.py compile-3.5!skip -plugins/modules/vcenter_vm_tools.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_info.py import-2.6!skip -plugins/modules/vcenter_vm_info.py compile-2.6!skip -plugins/modules/vcenter_vm_info.py import-2.7!skip -plugins/modules/vcenter_vm_info.py compile-2.7!skip -plugins/modules/vcenter_vm_info.py import-3.5!skip -plugins/modules/vcenter_vm_info.py compile-3.5!skip -plugins/modules/vcenter_vm_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_info.py validate-modules:missing-main-call -plugins/modules/appliance_infraprofile_configs.py import-2.6!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.6!skip -plugins/modules/appliance_infraprofile_configs.py import-2.7!skip -plugins/modules/appliance_infraprofile_configs.py compile-2.7!skip -plugins/modules/appliance_infraprofile_configs.py import-3.5!skip -plugins/modules/appliance_infraprofile_configs.py compile-3.5!skip -plugins/modules/appliance_infraprofile_configs.py future-import-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py metaclass-boilerplate!skip -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-if-name-main -plugins/modules/appliance_infraprofile_configs.py validate-modules:missing-main-call -plugins/modules/content_subscribedlibrary.py import-2.6!skip -plugins/modules/content_subscribedlibrary.py compile-2.6!skip -plugins/modules/content_subscribedlibrary.py import-2.7!skip -plugins/modules/content_subscribedlibrary.py compile-2.7!skip -plugins/modules/content_subscribedlibrary.py import-3.5!skip -plugins/modules/content_subscribedlibrary.py compile-3.5!skip -plugins/modules/content_subscribedlibrary.py future-import-boilerplate!skip -plugins/modules/content_subscribedlibrary.py metaclass-boilerplate!skip -plugins/modules/content_subscribedlibrary.py validate-modules:missing-if-name-main -plugins/modules/content_subscribedlibrary.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips_info.py import-2.6!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.6!skip -plugins/modules/appliance_system_globalfips_info.py import-2.7!skip -plugins/modules/appliance_system_globalfips_info.py compile-2.7!skip -plugins/modules/appliance_system_globalfips_info.py import-3.5!skip -plugins/modules/appliance_system_globalfips_info.py compile-3.5!skip -plugins/modules/appliance_system_globalfips_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips_info.py validate-modules:missing-main-call -plugins/modules/appliance_services_info.py import-2.6!skip -plugins/modules/appliance_services_info.py compile-2.6!skip -plugins/modules/appliance_services_info.py import-2.7!skip -plugins/modules/appliance_services_info.py compile-2.7!skip -plugins/modules/appliance_services_info.py import-3.5!skip -plugins/modules/appliance_services_info.py compile-3.5!skip -plugins/modules/appliance_services_info.py future-import-boilerplate!skip -plugins/modules/appliance_services_info.py metaclass-boilerplate!skip -plugins/modules/appliance_services_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_services_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_compliance.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial_info.py validate-modules:missing-main-call -plugins/modules/content_configuration.py import-2.6!skip -plugins/modules/content_configuration.py compile-2.6!skip -plugins/modules/content_configuration.py import-2.7!skip -plugins/modules/content_configuration.py compile-2.7!skip -plugins/modules/content_configuration.py import-3.5!skip -plugins/modules/content_configuration.py compile-3.5!skip -plugins/modules/content_configuration.py future-import-boilerplate!skip -plugins/modules/content_configuration.py metaclass-boilerplate!skip -plugins/modules/content_configuration.py validate-modules:missing-if-name-main -plugins/modules/content_configuration.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_hostname_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_hostname_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_hostname_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_hostname_info.py validate-modules:missing-main-call -plugins/modules/content_locallibrary_info.py import-2.6!skip -plugins/modules/content_locallibrary_info.py compile-2.6!skip -plugins/modules/content_locallibrary_info.py import-2.7!skip -plugins/modules/content_locallibrary_info.py compile-2.7!skip -plugins/modules/content_locallibrary_info.py import-3.5!skip -plugins/modules/content_locallibrary_info.py compile-3.5!skip -plugins/modules/content_locallibrary_info.py future-import-boilerplate!skip -plugins/modules/content_locallibrary_info.py metaclass-boilerplate!skip -plugins/modules/content_locallibrary_info.py validate-modules:missing-if-name-main -plugins/modules/content_locallibrary_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy_info.py import-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy_info.py import-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy_info.py import-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_ssh.py import-2.6!skip -plugins/modules/appliance_access_ssh.py compile-2.6!skip -plugins/modules/appliance_access_ssh.py import-2.7!skip -plugins/modules/appliance_access_ssh.py compile-2.7!skip -plugins/modules/appliance_access_ssh.py import-3.5!skip -plugins/modules/appliance_access_ssh.py compile-3.5!skip -plugins/modules/appliance_access_ssh.py future-import-boilerplate!skip -plugins/modules/appliance_access_ssh.py metaclass-boilerplate!skip -plugins/modules/appliance_access_ssh.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_ssh.py validate-modules:missing-main-call -plugins/modules/appliance_health_softwarepackages_info.py import-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.6!skip -plugins/modules/appliance_health_softwarepackages_info.py import-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-2.7!skip -plugins/modules/appliance_health_softwarepackages_info.py import-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py compile-3.5!skip -plugins/modules/appliance_health_softwarepackages_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_softwarepackages_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_database_info.py import-2.6!skip -plugins/modules/appliance_health_database_info.py compile-2.6!skip -plugins/modules/appliance_health_database_info.py import-2.7!skip -plugins/modules/appliance_health_database_info.py compile-2.7!skip -plugins/modules/appliance_health_database_info.py import-3.5!skip -plugins/modules/appliance_health_database_info.py compile-3.5!skip -plugins/modules/appliance_health_database_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_database_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_database_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_database_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound_info.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_memory_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_memory_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_memory_info.py validate-modules:missing-main-call -plugins/modules/content_library_item_info.py import-2.6!skip -plugins/modules/content_library_item_info.py compile-2.6!skip -plugins/modules/content_library_item_info.py import-2.7!skip -plugins/modules/content_library_item_info.py compile-2.7!skip -plugins/modules/content_library_item_info.py import-3.5!skip -plugins/modules/content_library_item_info.py compile-3.5!skip -plugins/modules/content_library_item_info.py future-import-boilerplate!skip -plugins/modules/content_library_item_info.py metaclass-boilerplate!skip -plugins/modules/content_library_item_info.py validate-modules:missing-if-name-main -plugins/modules/content_library_item_info.py validate-modules:missing-main-call -plugins/modules/appliance_vmon_service_info.py import-2.6!skip -plugins/modules/appliance_vmon_service_info.py compile-2.6!skip -plugins/modules/appliance_vmon_service_info.py import-2.7!skip -plugins/modules/appliance_vmon_service_info.py compile-2.7!skip -plugins/modules/appliance_vmon_service_info.py import-3.5!skip -plugins/modules/appliance_vmon_service_info.py compile-3.5!skip -plugins/modules/appliance_vmon_service_info.py future-import-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py metaclass-boilerplate!skip -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_vmon_service_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device.py validate-modules:missing-main-call -plugins/modules/appliance_networking_noproxy.py import-2.6!skip -plugins/modules/appliance_networking_noproxy.py compile-2.6!skip -plugins/modules/appliance_networking_noproxy.py import-2.7!skip -plugins/modules/appliance_networking_noproxy.py compile-2.7!skip -plugins/modules/appliance_networking_noproxy.py import-3.5!skip -plugins/modules/appliance_networking_noproxy.py compile-3.5!skip -plugins/modules/appliance_networking_noproxy.py future-import-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_noproxy.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui_info.py import-2.6!skip -plugins/modules/appliance_access_dcui_info.py compile-2.6!skip -plugins/modules/appliance_access_dcui_info.py import-2.7!skip -plugins/modules/appliance_access_dcui_info.py compile-2.7!skip -plugins/modules/appliance_access_dcui_info.py import-3.5!skip -plugins/modules/appliance_access_dcui_info.py compile-3.5!skip -plugins/modules/appliance_access_dcui_info.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6_info.py validate-modules:missing-main-call -plugins/modules/vcenter_ovf_libraryitem.py import-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.6!skip -plugins/modules/vcenter_ovf_libraryitem.py import-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-2.7!skip -plugins/modules/vcenter_ovf_libraryitem.py import-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py compile-3.5!skip -plugins/modules/vcenter_ovf_libraryitem.py future-import-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py metaclass-boilerplate!skip -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-if-name-main -plugins/modules/vcenter_ovf_libraryitem.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains_info.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains_info.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains_info.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_globalfips.py import-2.6!skip -plugins/modules/appliance_system_globalfips.py compile-2.6!skip -plugins/modules/appliance_system_globalfips.py import-2.7!skip -plugins/modules/appliance_system_globalfips.py compile-2.7!skip -plugins/modules/appliance_system_globalfips.py import-3.5!skip -plugins/modules/appliance_system_globalfips.py compile-3.5!skip -plugins/modules/appliance_system_globalfips.py future-import-boilerplate!skip -plugins/modules/appliance_system_globalfips.py metaclass-boilerplate!skip -plugins/modules/appliance_system_globalfips.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_globalfips.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_serial.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_serial.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_serial.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_serial.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_serial.py validate-modules:missing-main-call -plugins/modules/appliance_networking_firewall_inbound.py import-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.6!skip -plugins/modules/appliance_networking_firewall_inbound.py import-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-2.7!skip -plugins/modules/appliance_networking_firewall_inbound.py import-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py compile-3.5!skip -plugins/modules/appliance_networking_firewall_inbound.py future-import-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_firewall_inbound.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown.py import-2.6!skip -plugins/modules/appliance_shutdown.py compile-2.6!skip -plugins/modules/appliance_shutdown.py import-2.7!skip -plugins/modules/appliance_shutdown.py compile-2.7!skip -plugins/modules/appliance_shutdown.py import-3.5!skip -plugins/modules/appliance_shutdown.py compile-3.5!skip -plugins/modules/appliance_shutdown.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_ethernet.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_ethernet.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_ethernet.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel_info.py validate-modules:missing-main-call -plugins/modules/vcenter_host_info.py import-2.6!skip -plugins/modules/vcenter_host_info.py compile-2.6!skip -plugins/modules/vcenter_host_info.py import-2.7!skip -plugins/modules/vcenter_host_info.py compile-2.7!skip -plugins/modules/vcenter_host_info.py import-3.5!skip -plugins/modules/vcenter_host_info.py compile-3.5!skip -plugins/modules/vcenter_host_info.py future-import-boilerplate!skip -plugins/modules/vcenter_host_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_host_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_host_info.py validate-modules:missing-main-call -plugins/modules/appliance_timesync.py import-2.6!skip -plugins/modules/appliance_timesync.py compile-2.6!skip -plugins/modules/appliance_timesync.py import-2.7!skip -plugins/modules/appliance_timesync.py compile-2.7!skip -plugins/modules/appliance_timesync.py import-3.5!skip -plugins/modules/appliance_timesync.py compile-3.5!skip -plugins/modules/appliance_timesync.py future-import-boilerplate!skip -plugins/modules/appliance_timesync.py metaclass-boilerplate!skip -plugins/modules/appliance_timesync.py validate-modules:missing-if-name-main -plugins/modules/appliance_timesync.py validate-modules:missing-main-call -plugins/modules/vcenter_network_info.py import-2.6!skip -plugins/modules/vcenter_network_info.py compile-2.6!skip -plugins/modules/vcenter_network_info.py import-2.7!skip -plugins/modules/vcenter_network_info.py compile-2.7!skip -plugins/modules/vcenter_network_info.py import-3.5!skip -plugins/modules/vcenter_network_info.py compile-3.5!skip -plugins/modules/vcenter_network_info.py future-import-boilerplate!skip -plugins/modules/vcenter_network_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_network_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_network_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot.py validate-modules:missing-main-call -plugins/modules/appliance_shutdown_info.py import-2.6!skip -plugins/modules/appliance_shutdown_info.py compile-2.6!skip -plugins/modules/appliance_shutdown_info.py import-2.7!skip -plugins/modules/appliance_shutdown_info.py compile-2.7!skip -plugins/modules/appliance_shutdown_info.py import-3.5!skip -plugins/modules/appliance_shutdown_info.py compile-3.5!skip -plugins/modules/appliance_shutdown_info.py future-import-boilerplate!skip -plugins/modules/appliance_shutdown_info.py metaclass-boilerplate!skip -plugins/modules/appliance_shutdown_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_shutdown_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_servers.py import-2.6!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.6!skip -plugins/modules/appliance_networking_dns_servers.py import-2.7!skip -plugins/modules/appliance_networking_dns_servers.py compile-2.7!skip -plugins/modules/appliance_networking_dns_servers.py import-3.5!skip -plugins/modules/appliance_networking_dns_servers.py compile-3.5!skip -plugins/modules/appliance_networking_dns_servers.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_servers.py validate-modules:missing-main-call -plugins/modules/vcenter_cluster_info.py import-2.6!skip -plugins/modules/vcenter_cluster_info.py compile-2.6!skip -plugins/modules/vcenter_cluster_info.py import-2.7!skip -plugins/modules/vcenter_cluster_info.py compile-2.7!skip -plugins/modules/vcenter_cluster_info.py import-3.5!skip -plugins/modules/vcenter_cluster_info.py compile-3.5!skip -plugins/modules/vcenter_cluster_info.py future-import-boilerplate!skip -plugins/modules/vcenter_cluster_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_cluster_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_cluster_info.py validate-modules:missing-main-call -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.6!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-2.7!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py import-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py compile-3.5!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py future-import-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_localaccounts_globalpolicy_info.py validate-modules:missing-main-call -plugins/modules/appliance_system_storage.py import-2.6!skip -plugins/modules/appliance_system_storage.py compile-2.6!skip -plugins/modules/appliance_system_storage.py import-2.7!skip -plugins/modules/appliance_system_storage.py compile-2.7!skip -plugins/modules/appliance_system_storage.py import-3.5!skip -plugins/modules/appliance_system_storage.py compile-3.5!skip -plugins/modules/appliance_system_storage.py future-import-boilerplate!skip -plugins/modules/appliance_system_storage.py metaclass-boilerplate!skip -plugins/modules/appliance_system_storage.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_storage.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_storage_policy_info.py import-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.6!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-2.7!skip -plugins/modules/vcenter_vm_storage_policy_info.py import-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py compile-3.5!skip -plugins/modules/vcenter_vm_storage_policy_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_storage_policy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm.py import-2.6!skip -plugins/modules/vcenter_vm.py compile-2.6!skip -plugins/modules/vcenter_vm.py import-2.7!skip -plugins/modules/vcenter_vm.py compile-2.7!skip -plugins/modules/vcenter_vm.py import-3.5!skip -plugins/modules/vcenter_vm.py compile-3.5!skip -plugins/modules/vcenter_vm.py future-import-boilerplate!skip -plugins/modules/vcenter_vm.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm.py validate-modules:missing-main-call -plugins/modules/appliance_networking_proxy_info.py import-2.6!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.6!skip -plugins/modules/appliance_networking_proxy_info.py import-2.7!skip -plugins/modules/appliance_networking_proxy_info.py compile-2.7!skip -plugins/modules/appliance_networking_proxy_info.py import-3.5!skip -plugins/modules/appliance_networking_proxy_info.py compile-3.5!skip -plugins/modules/appliance_networking_proxy_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_proxy_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_cpu_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_tools_installer_info.py import-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.6!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-2.7!skip -plugins/modules/vcenter_vm_tools_installer_info.py import-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py compile-3.5!skip -plugins/modules/vcenter_vm_tools_installer_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_tools_installer_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware.py import-2.6!skip -plugins/modules/vcenter_vm_hardware.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware.py import-2.7!skip -plugins/modules/vcenter_vm_hardware.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware.py import-3.5!skip -plugins/modules/vcenter_vm_hardware.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware.py validate-modules:missing-main-call -plugins/modules/appliance_services.py import-2.6!skip -plugins/modules/appliance_services.py compile-2.6!skip -plugins/modules/appliance_services.py import-2.7!skip -plugins/modules/appliance_services.py compile-2.7!skip -plugins/modules/appliance_services.py import-3.5!skip -plugins/modules/appliance_services.py compile-3.5!skip -plugins/modules/appliance_services.py future-import-boilerplate!skip -plugins/modules/appliance_services.py metaclass-boilerplate!skip -plugins/modules/appliance_services.py validate-modules:missing-if-name-main -plugins/modules/appliance_services.py validate-modules:missing-main-call -plugins/modules/appliance_health_databasestorage_info.py import-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.6!skip -plugins/modules/appliance_health_databasestorage_info.py import-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py compile-2.7!skip -plugins/modules/appliance_health_databasestorage_info.py import-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py compile-3.5!skip -plugins/modules/appliance_health_databasestorage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_databasestorage_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_identity_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_identity_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_identity_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_identity_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_boot_device_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_storage_info.py import-2.6!skip -plugins/modules/appliance_health_storage_info.py compile-2.6!skip -plugins/modules/appliance_health_storage_info.py import-2.7!skip -plugins/modules/appliance_health_storage_info.py compile-2.7!skip -plugins/modules/appliance_health_storage_info.py import-3.5!skip -plugins/modules/appliance_health_storage_info.py compile-3.5!skip -plugins/modules/appliance_health_storage_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_storage_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_storage_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_storage_info.py validate-modules:missing-main-call -plugins/modules/appliance_health_swap_info.py import-2.6!skip -plugins/modules/appliance_health_swap_info.py compile-2.6!skip -plugins/modules/appliance_health_swap_info.py import-2.7!skip -plugins/modules/appliance_health_swap_info.py compile-2.7!skip -plugins/modules/appliance_health_swap_info.py import-3.5!skip -plugins/modules/appliance_health_swap_info.py compile-3.5!skip -plugins/modules/appliance_health_swap_info.py future-import-boilerplate!skip -plugins/modules/appliance_health_swap_info.py metaclass-boilerplate!skip -plugins/modules/appliance_health_swap_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_health_swap_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_power.py import-2.6!skip -plugins/modules/vcenter_vm_power.py compile-2.6!skip -plugins/modules/vcenter_vm_power.py import-2.7!skip -plugins/modules/vcenter_vm_power.py compile-2.7!skip -plugins/modules/vcenter_vm_power.py import-3.5!skip -plugins/modules/vcenter_vm_power.py compile-3.5!skip -plugins/modules/vcenter_vm_power.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_power.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_power.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_power.py validate-modules:missing-main-call -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.6!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-2.7!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py import-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py compile-3.5!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py future-import-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py metaclass-boilerplate!skip -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vmtemplate_libraryitems.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_networking_routes_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_dns_domains.py import-2.6!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.6!skip -plugins/modules/appliance_networking_dns_domains.py import-2.7!skip -plugins/modules/appliance_networking_dns_domains.py compile-2.7!skip -plugins/modules/appliance_networking_dns_domains.py import-3.5!skip -plugins/modules/appliance_networking_dns_domains.py compile-3.5!skip -plugins/modules/appliance_networking_dns_domains.py future-import-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_dns_domains.py validate-modules:missing-main-call -plugins/modules/vcenter_storage_policies_info.py import-2.6!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.6!skip -plugins/modules/vcenter_storage_policies_info.py import-2.7!skip -plugins/modules/vcenter_storage_policies_info.py compile-2.7!skip -plugins/modules/vcenter_storage_policies_info.py import-3.5!skip -plugins/modules/vcenter_storage_policies_info.py compile-3.5!skip -plugins/modules/vcenter_storage_policies_info.py future-import-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_storage_policies_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_dcui.py import-2.6!skip -plugins/modules/appliance_access_dcui.py compile-2.6!skip -plugins/modules/appliance_access_dcui.py import-2.7!skip -plugins/modules/appliance_access_dcui.py compile-2.7!skip -plugins/modules/appliance_access_dcui.py import-3.5!skip -plugins/modules/appliance_access_dcui.py compile-3.5!skip -plugins/modules/appliance_access_dcui.py future-import-boilerplate!skip -plugins/modules/appliance_access_dcui.py metaclass-boilerplate!skip -plugins/modules/appliance_access_dcui.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_dcui.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone_info.py import-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone_info.py import-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone_info.py import-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone_info.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone_info.py validate-modules:missing-main-call -plugins/modules/appliance_ntp.py import-2.6!skip -plugins/modules/appliance_ntp.py compile-2.6!skip -plugins/modules/appliance_ntp.py import-2.7!skip -plugins/modules/appliance_ntp.py compile-2.7!skip -plugins/modules/appliance_ntp.py import-3.5!skip -plugins/modules/appliance_ntp.py compile-3.5!skip -plugins/modules/appliance_ntp.py future-import-boilerplate!skip -plugins/modules/appliance_ntp.py metaclass-boilerplate!skip -plugins/modules/appliance_ntp.py validate-modules:missing-if-name-main -plugins/modules/appliance_ntp.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_parallel.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_parallel.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_parallel.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_parallel.py validate-modules:missing-main-call -plugins/modules/vcenter_datacenter.py import-2.6!skip -plugins/modules/vcenter_datacenter.py compile-2.6!skip -plugins/modules/vcenter_datacenter.py import-2.7!skip -plugins/modules/vcenter_datacenter.py compile-2.7!skip -plugins/modules/vcenter_datacenter.py import-3.5!skip -plugins/modules/vcenter_datacenter.py compile-3.5!skip -plugins/modules/vcenter_datacenter.py future-import-boilerplate!skip -plugins/modules/vcenter_datacenter.py metaclass-boilerplate!skip -plugins/modules/vcenter_datacenter.py validate-modules:missing-if-name-main -plugins/modules/vcenter_datacenter.py validate-modules:missing-main-call -plugins/modules/appliance_system_time_timezone.py import-2.6!skip -plugins/modules/appliance_system_time_timezone.py compile-2.6!skip -plugins/modules/appliance_system_time_timezone.py import-2.7!skip -plugins/modules/appliance_system_time_timezone.py compile-2.7!skip -plugins/modules/appliance_system_time_timezone.py import-3.5!skip -plugins/modules/appliance_system_time_timezone.py compile-3.5!skip -plugins/modules/appliance_system_time_timezone.py future-import-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py metaclass-boilerplate!skip -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-if-name-main -plugins/modules/appliance_system_time_timezone.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_disk_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_disk_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_disk_info.py validate-modules:missing-main-call -plugins/modules/appliance_access_shell.py import-2.6!skip -plugins/modules/appliance_access_shell.py compile-2.6!skip -plugins/modules/appliance_access_shell.py import-2.7!skip -plugins/modules/appliance_access_shell.py compile-2.7!skip -plugins/modules/appliance_access_shell.py import-3.5!skip -plugins/modules/appliance_access_shell.py compile-3.5!skip -plugins/modules/appliance_access_shell.py future-import-boilerplate!skip -plugins/modules/appliance_access_shell.py metaclass-boilerplate!skip -plugins/modules/appliance_access_shell.py validate-modules:missing-if-name-main -plugins/modules/appliance_access_shell.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_floppy.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_floppy.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_floppy.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_floppy.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_power_info.py import-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_power_info.py import-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_power_info.py import-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_power_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_power_info.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_scsi.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_guest_customization.py import-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.6!skip -plugins/modules/vcenter_vm_guest_customization.py import-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py compile-2.7!skip -plugins/modules/vcenter_vm_guest_customization.py import-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py compile-3.5!skip -plugins/modules/vcenter_vm_guest_customization.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_guest_customization.py validate-modules:missing-main-call -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.6!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-2.7!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py import-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py compile-3.5!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py future-import-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_vm_hardware_adapter_sata_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_info.py validate-modules:missing-main-call -plugins/modules/vcenter_resourcepool_info.py import-2.6!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.6!skip -plugins/modules/vcenter_resourcepool_info.py import-2.7!skip -plugins/modules/vcenter_resourcepool_info.py compile-2.7!skip -plugins/modules/vcenter_resourcepool_info.py import-3.5!skip -plugins/modules/vcenter_resourcepool_info.py compile-3.5!skip -plugins/modules/vcenter_resourcepool_info.py future-import-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py metaclass-boilerplate!skip -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-if-name-main -plugins/modules/vcenter_resourcepool_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv4_info.py validate-modules:missing-main-call -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.6!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-2.7!skip -plugins/modules/appliance_networking_interfaces_ipv6.py import-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py compile-3.5!skip -plugins/modules/appliance_networking_interfaces_ipv6.py future-import-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py metaclass-boilerplate!skip -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-if-name-main -plugins/modules/appliance_networking_interfaces_ipv6.py validate-modules:missing-main-call -plugins/lookup/datastore_moid.py compile-2.6!skip -plugins/lookup/datastore_moid.py compile-2.7!skip -plugins/lookup/datastore_moid.py compile-3.5!skip -plugins/lookup/resource_pool_moid.py compile-2.6!skip -plugins/lookup/resource_pool_moid.py compile-2.7!skip -plugins/lookup/resource_pool_moid.py compile-3.5!skip -plugins/lookup/cluster_moid.py compile-2.6!skip -plugins/lookup/cluster_moid.py compile-2.7!skip -plugins/lookup/cluster_moid.py compile-3.5!skip -plugins/lookup/network_moid.py compile-2.6!skip -plugins/lookup/network_moid.py compile-2.7!skip -plugins/lookup/network_moid.py compile-3.5!skip -plugins/lookup/host_moid.py compile-2.6!skip -plugins/lookup/host_moid.py compile-2.7!skip -plugins/lookup/host_moid.py compile-3.5!skip -plugins/lookup/folder_moid.py compile-2.6!skip -plugins/lookup/folder_moid.py compile-2.7!skip -plugins/lookup/folder_moid.py compile-3.5!skip -plugins/lookup/vm_moid.py compile-2.6!skip -plugins/lookup/vm_moid.py compile-2.7!skip -plugins/lookup/vm_moid.py compile-3.5!skip -plugins/lookup/datacenter_moid.py compile-2.6!skip -plugins/lookup/datacenter_moid.py compile-2.7!skip -plugins/lookup/datacenter_moid.py compile-3.5!skip -plugins/module_utils/vmware_rest.py future-import-boilerplate!skip -plugins/module_utils/vmware_rest.py metaclass-boilerplate!skip -plugins/module_utils/vmware_rest.py import-2.6!skip -plugins/module_utils/vmware_rest.py compile-2.6!skip -plugins/module_utils/vmware_rest.py import-2.7!skip -plugins/module_utils/vmware_rest.py compile-2.7!skip -plugins/module_utils/vmware_rest.py import-3.5!skip -plugins/module_utils/vmware_rest.py compile-3.5!skip -plugins/plugin_utils/lookup.py compile-2.6!skip -plugins/plugin_utils/lookup.py compile-2.7!skip -plugins/plugin_utils/lookup.py compile-3.5!skip diff --git a/ansible_collections/vmware/vmware_rest/tox.ini b/ansible_collections/vmware/vmware_rest/tox.ini index 5282ce308..82bfe491b 100644 --- a/ansible_collections/vmware/vmware_rest/tox.ini +++ b/ansible_collections/vmware/vmware_rest/tox.ini @@ -8,31 +8,10 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt install_command = pip install {opts} {packages} -[testenv:black] -deps = - black==19.10b0 - click==8.0.2 -commands = - black {toxinidir}/plugins {toxinidir}/tests - [testenv:add_docs] deps = git+https://github.com/ansible-network/collection_prep commands = collection_prep_add_docs -p . -[testenv:refresh_modules] -deps = - git+https://github.com/ansible-collections/gouttelette - git+https://github.com/ansible-collections/vmware_rest_code_generator - black==19.10b0 - click==8.0.2 -commands = - gouttelette-refresh-modules --target-dir . --collection vmware_rest {posargs} - gouttelette-refresh-ignore-files --target-dir . - black {toxinidir}/plugins {toxinidir}/tests - echo "now you can update the RETURN block, see https://github.com/ansible-collections/vmware_rest_code_generator#how-to-refresh-the-vmwarevmware_rest-content" -allowlist_externals = - echo - [testenv:build_manual] deps = -r{toxinidir}/docs-requirements.txt changedir = {toxinidir}/manual/source @@ -57,15 +36,31 @@ setenv = ESXI2_PASSWORD = {env:ESXI2_PASSWORD} VMWARE_VALIDATE_CERTS = {env:VMWARE_VALIDATE_CERTS} +[testenv:black] +depends = + isort +deps = + black >=23.0, <24.0 +commands = + black -v {toxinidir}/plugins {toxinidir}/tests + +[testenv:isort] +deps = + isort +commands = + isort --profile black {toxinidir}/plugins {toxinidir}/tests + [testenv:linters] deps = - black==19.10b0 + black click==8.0.2 flake8 antsibull-changelog antsibull-docs + {[testenv:isort]deps} commands = black -v --check {toxinidir}/plugins {toxinidir}/tests + isort --profile black --check-only --diff {toxinidir}/plugins {toxinidir}/tests flake8 {posargs} {toxinidir}/plugins {toxinidir}/tests antsibull-changelog lint-changelog-yaml changelogs/changelog.yaml antsibull-docs lint-collection-docs . @@ -104,9 +99,3 @@ ignore = E123,E125,E203,E402,E501,E741,F401,F811,F841,W503 max-line-length = 160 builtins = _ exclude = .git,.tox,tests/unit/compat/ - -[testenv:refresh-examples] -deps = - git+https://github.com/ansible-collections/gouttelette -commands = - gouttelette-refresh-examples --target-dir {toxinidir} |