From 3b048a2879e2d51225c6129c32c02d1bf7f1ffa1 Mon Sep 17 00:00:00 2001 From: George Ghawali Date: Sun, 22 Dec 2024 09:11:41 +0200 Subject: [PATCH 1/2] Adding statement in description to clarify that V4 modules uses PC V4 APIs based SDKs --- plugins/modules/ntnx_address_groups_info_v2.py | 1 + plugins/modules/ntnx_address_groups_v2.py | 6 ++++-- plugins/modules/ntnx_authorization_policies_info_v2.py | 1 + plugins/modules/ntnx_authorization_policies_v2.py | 1 + plugins/modules/ntnx_categories_info_v2.py | 4 +++- plugins/modules/ntnx_categories_v2.py | 1 + plugins/modules/ntnx_clusters_info_v2.py | 1 + plugins/modules/ntnx_clusters_nodes_v2.py | 1 + plugins/modules/ntnx_clusters_v2.py | 1 + plugins/modules/ntnx_directory_services_info_v2.py | 1 + plugins/modules/ntnx_directory_services_v2.py | 1 + plugins/modules/ntnx_discover_unconfigured_nodes_v2.py | 1 + plugins/modules/ntnx_floating_ips_info_v2.py | 4 +++- plugins/modules/ntnx_floating_ips_v2.py | 1 + plugins/modules/ntnx_gpus_info_v2.py | 1 + plugins/modules/ntnx_gpus_v2.py | 1 + plugins/modules/ntnx_hosts_info_v2.py | 1 + plugins/modules/ntnx_image_placement_policies_info_v2.py | 1 + plugins/modules/ntnx_image_placement_policies_v2.py | 1 + plugins/modules/ntnx_images_info_v2.py | 1 + plugins/modules/ntnx_images_v2.py | 1 + plugins/modules/ntnx_nodes_network_info_v2.py | 1 + plugins/modules/ntnx_operations_info_v2.py | 1 + plugins/modules/ntnx_pbrs_info_v2.py | 1 + plugins/modules/ntnx_pbrs_v2.py | 4 +++- plugins/modules/ntnx_pc_registration_v2.py | 1 + plugins/modules/ntnx_recovery_point_replicate_v2.py | 1 + plugins/modules/ntnx_recovery_point_restore_v2.py | 4 +++- plugins/modules/ntnx_recovery_points_info_v2.py | 1 + plugins/modules/ntnx_recovery_points_v2.py | 4 +++- plugins/modules/ntnx_roles_info_v2.py | 4 +++- plugins/modules/ntnx_roles_v2.py | 1 + plugins/modules/ntnx_route_tables_info_v2.py | 4 +++- plugins/modules/ntnx_routes_info_v2.py | 4 +++- plugins/modules/ntnx_routes_v2.py | 4 +++- plugins/modules/ntnx_saml_identity_providers_info_v2.py | 1 + plugins/modules/ntnx_saml_identity_providers_v2.py | 4 +++- plugins/modules/ntnx_security_rules_info_v2.py | 2 +- plugins/modules/ntnx_security_rules_v2.py | 1 + plugins/modules/ntnx_service_groups_info_v2.py | 1 + plugins/modules/ntnx_service_groups_v2.py | 1 + plugins/modules/ntnx_storage_containers_info_v2.py | 1 + plugins/modules/ntnx_storage_containers_stats_v2.py | 1 + plugins/modules/ntnx_storage_containers_v2.py | 1 + plugins/modules/ntnx_subnets_info_v2.py | 4 +++- plugins/modules/ntnx_subnets_v2.py | 4 +++- plugins/modules/ntnx_templates_deploy_v2.py | 1 + plugins/modules/ntnx_templates_guest_os_v2.py | 1 + plugins/modules/ntnx_templates_info_v2.py | 4 +++- plugins/modules/ntnx_templates_v2.py | 1 + plugins/modules/ntnx_templates_version_v2.py | 1 + plugins/modules/ntnx_templates_versions_info_v2.py | 1 + plugins/modules/ntnx_user_groups_info_v2.py | 1 + plugins/modules/ntnx_user_groups_v2.py | 4 +++- plugins/modules/ntnx_users_info_v2.py | 4 +++- plugins/modules/ntnx_users_v2.py | 1 + plugins/modules/ntnx_vm_recovery_point_info_v2.py | 1 + plugins/modules/ntnx_vm_revert_v2.py | 1 + plugins/modules/ntnx_vms_categories_v2.py | 1 + plugins/modules/ntnx_vms_cd_rom_info_v2.py | 1 + plugins/modules/ntnx_vms_cd_rom_iso_v2.py | 1 + plugins/modules/ntnx_vms_cd_rom_v2.py | 1 + plugins/modules/ntnx_vms_clone_v2.py | 1 + plugins/modules/ntnx_vms_disks_info_v2.py | 1 + plugins/modules/ntnx_vms_disks_v2.py | 1 + plugins/modules/ntnx_vms_info_v2.py | 1 + plugins/modules/ntnx_vms_ngt_info_v2.py | 1 + plugins/modules/ntnx_vms_ngt_insert_iso_v2.py | 1 + plugins/modules/ntnx_vms_ngt_update_v2.py | 1 + plugins/modules/ntnx_vms_ngt_upgrade_v2.py | 1 + plugins/modules/ntnx_vms_ngt_v2.py | 1 + plugins/modules/ntnx_vms_nics_info_v2.py | 1 + plugins/modules/ntnx_vms_nics_ip_v2.py | 1 + plugins/modules/ntnx_vms_nics_migrate_v2.py | 1 + plugins/modules/ntnx_vms_nics_v2.py | 1 + plugins/modules/ntnx_vms_power_actions_v2.py | 1 + plugins/modules/ntnx_vms_serial_port_info_v2.py | 1 + plugins/modules/ntnx_vms_serial_port_v2.py | 1 + plugins/modules/ntnx_vms_stage_guest_customization_v2.py | 1 + plugins/modules/ntnx_vms_v2.py | 4 +++- plugins/modules/ntnx_volume_groups_categories_info_v2.py | 1 + plugins/modules/ntnx_volume_groups_disks_info_v2.py | 1 + plugins/modules/ntnx_volume_groups_disks_v2.py | 1 + plugins/modules/ntnx_volume_groups_info_v2.py | 1 + plugins/modules/ntnx_volume_groups_iscsi_clients_info_v2.py | 1 + plugins/modules/ntnx_volume_groups_iscsi_clients_v2.py | 1 + plugins/modules/ntnx_volume_groups_v2.py | 1 + plugins/modules/ntnx_volume_groups_vms_info_v2.py | 1 + plugins/modules/ntnx_volume_groups_vms_v2.py | 1 + plugins/modules/ntnx_vpcs_info_v2.py | 1 + plugins/modules/ntnx_vpcs_v2.py | 4 +++- 91 files changed, 128 insertions(+), 20 deletions(-) diff --git a/plugins/modules/ntnx_address_groups_info_v2.py b/plugins/modules/ntnx_address_groups_info_v2.py index 8fda5560..72ba19ab 100644 --- a/plugins/modules/ntnx_address_groups_info_v2.py +++ b/plugins/modules/ntnx_address_groups_info_v2.py @@ -16,6 +16,7 @@ description: - Fetch specific address group info using external ID - Fetch list of multiple address groups info if external ID is not provided with optional filters + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_address_groups_v2.py b/plugins/modules/ntnx_address_groups_v2.py index 65d3bd93..d0353cc3 100644 --- a/plugins/modules/ntnx_address_groups_v2.py +++ b/plugins/modules/ntnx_address_groups_v2.py @@ -11,9 +11,11 @@ DOCUMENTATION = r""" --- module: ntnx_address_groups_v2 -short_description: "Create, Update, Delete address groups" +short_description: Create, Update, Delete address groups version_added: 2.0.0 -description: "Create, Update, Delete address groups" +description: + - Create, Update, Delete address groups + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_authorization_policies_info_v2.py b/plugins/modules/ntnx_authorization_policies_info_v2.py index a7fdbbb9..4aecaf00 100644 --- a/plugins/modules/ntnx_authorization_policies_info_v2.py +++ b/plugins/modules/ntnx_authorization_policies_info_v2.py @@ -18,6 +18,7 @@ - It will fetch specific authorization policy if external ID is provided - It will fetch multiple authorization policies if external ID is not provided - Use filters to fetch specific authorization policies + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_authorization_policies_v2.py b/plugins/modules/ntnx_authorization_policies_v2.py index 6a9c5941..c6167fb9 100644 --- a/plugins/modules/ntnx_authorization_policies_v2.py +++ b/plugins/modules/ntnx_authorization_policies_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix PC IAM authorization policies description: - This module allows you to create, update, and delete authorization policies in Nutanix PC. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_categories_info_v2.py b/plugins/modules/ntnx_categories_info_v2.py index 146309ec..6bf10c2b 100644 --- a/plugins/modules/ntnx_categories_info_v2.py +++ b/plugins/modules/ntnx_categories_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_categories_info_v2 short_description: Nutanix PC categories info module version_added: 2.0.0 -description: 'Get categories info' +description: + - Get categories info + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_categories_v2.py b/plugins/modules/ntnx_categories_v2.py index adcdfc0e..7f35cbc8 100644 --- a/plugins/modules/ntnx_categories_v2.py +++ b/plugins/modules/ntnx_categories_v2.py @@ -15,6 +15,7 @@ version_added: "2.0.0" description: - This module allows you to create, update, and delete categories in Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_clusters_info_v2.py b/plugins/modules/ntnx_clusters_info_v2.py index 1c8475c4..8a35ca5a 100644 --- a/plugins/modules/ntnx_clusters_info_v2.py +++ b/plugins/modules/ntnx_clusters_info_v2.py @@ -17,6 +17,7 @@ - This module retrieves information about Nutanix clusters from PC. - Fetch particular cluster info using external ID - Fetch multiple clusters info with/without using filters, limit, etc. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_clusters_nodes_v2.py b/plugins/modules/ntnx_clusters_nodes_v2.py index c886efc6..51df2add 100644 --- a/plugins/modules/ntnx_clusters_nodes_v2.py +++ b/plugins/modules/ntnx_clusters_nodes_v2.py @@ -13,6 +13,7 @@ short_description: Add or Remove nodes from cluster using Nutanix PC description: - This module allows you to manage Nutanix cluster nodes. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: node_params: diff --git a/plugins/modules/ntnx_clusters_v2.py b/plugins/modules/ntnx_clusters_v2.py index 187139e5..b8795212 100644 --- a/plugins/modules/ntnx_clusters_v2.py +++ b/plugins/modules/ntnx_clusters_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix clusters in Prism Central description: - This module allows you to create, update, and destroy Nutanix clusters using Prism Central. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_directory_services_info_v2.py b/plugins/modules/ntnx_directory_services_info_v2.py index 1c1427ca..d9fe978a 100644 --- a/plugins/modules/ntnx_directory_services_info_v2.py +++ b/plugins/modules/ntnx_directory_services_info_v2.py @@ -16,6 +16,7 @@ description: - This module is used to fetch directory services. - Fetch a directory service using ext_id or multiple directory services. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_directory_services_v2.py b/plugins/modules/ntnx_directory_services_v2.py index 757c93c0..8a954d8a 100644 --- a/plugins/modules/ntnx_directory_services_v2.py +++ b/plugins/modules/ntnx_directory_services_v2.py @@ -15,6 +15,7 @@ version_added: "2.0.0" description: - This module is used to create, update and delete directory services in Nutanix PC. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_discover_unconfigured_nodes_v2.py b/plugins/modules/ntnx_discover_unconfigured_nodes_v2.py index 340f5b50..1e08cae1 100644 --- a/plugins/modules/ntnx_discover_unconfigured_nodes_v2.py +++ b/plugins/modules/ntnx_discover_unconfigured_nodes_v2.py @@ -13,6 +13,7 @@ short_description: Discover unconfigured nodes from Nutanix Prism Central description: - Discover unconfigured nodes from Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: address_type: diff --git a/plugins/modules/ntnx_floating_ips_info_v2.py b/plugins/modules/ntnx_floating_ips_info_v2.py index 7d474c63..6f53540b 100644 --- a/plugins/modules/ntnx_floating_ips_info_v2.py +++ b/plugins/modules/ntnx_floating_ips_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_floating_ips_info_v2 short_description: floating_ip info module version_added: 2.0.0 -description: 'Get floating_ips info' +description: + - Get floating_ips info + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_floating_ips_v2.py b/plugins/modules/ntnx_floating_ips_v2.py index c781435f..f61dd6de 100644 --- a/plugins/modules/ntnx_floating_ips_v2.py +++ b/plugins/modules/ntnx_floating_ips_v2.py @@ -17,6 +17,7 @@ - Create, Update, Delete floating_ips - For floating IP create and delete, module will return tasks status in response after operation. - For floating IP update, module will return floating IP info if C(wait) is true, else task status. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_gpus_info_v2.py b/plugins/modules/ntnx_gpus_info_v2.py index 3d2b4871..878f1990 100644 --- a/plugins/modules/ntnx_gpus_info_v2.py +++ b/plugins/modules/ntnx_gpus_info_v2.py @@ -14,6 +14,7 @@ short_description: Fetches GPU(s) information attached to VM in a Nutanix prism central. description: - This module fetches GPU(s) information attached to a virtual machine in a Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_gpus_v2.py b/plugins/modules/ntnx_gpus_v2.py index c601fc9c..adfeef3a 100644 --- a/plugins/modules/ntnx_gpus_v2.py +++ b/plugins/modules/ntnx_gpus_v2.py @@ -14,6 +14,7 @@ short_description: Module to attach/detach GPUs to/from VMs in Nutanix prism central. description: - This module allows you to attach or detach GPUs to or from virtual machines in Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_hosts_info_v2.py b/plugins/modules/ntnx_hosts_info_v2.py index f49d15f3..3b6c5c8d 100644 --- a/plugins/modules/ntnx_hosts_info_v2.py +++ b/plugins/modules/ntnx_hosts_info_v2.py @@ -17,6 +17,7 @@ - This module retrieves information about Nutanix hosts from PC. - Fetch particular host info using external ID. - Fetch multiple hosts info with/without using filters, limit, etc. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_image_placement_policies_info_v2.py b/plugins/modules/ntnx_image_placement_policies_info_v2.py index 141f568d..8f5cbe40 100644 --- a/plugins/modules/ntnx_image_placement_policies_info_v2.py +++ b/plugins/modules/ntnx_image_placement_policies_info_v2.py @@ -16,6 +16,7 @@ - Pradeepsingh Bhati (@bhati-pradeep) description: - This module fetches information about Nutanix PC image placement policies. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_image_placement_policies_v2.py b/plugins/modules/ntnx_image_placement_policies_v2.py index 4c7ae701..f2bda2cd 100644 --- a/plugins/modules/ntnx_image_placement_policies_v2.py +++ b/plugins/modules/ntnx_image_placement_policies_v2.py @@ -14,6 +14,7 @@ description: - This module allows you to create, update, and delete image placement policies in Nutanix Prism Central. - This module allows you to suspend and resume image placement policies in Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_images_info_v2.py b/plugins/modules/ntnx_images_info_v2.py index 6aa6691a..7283e30f 100644 --- a/plugins/modules/ntnx_images_info_v2.py +++ b/plugins/modules/ntnx_images_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix images. - The module can fetch information about all images or a specific image. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_images_v2.py b/plugins/modules/ntnx_images_v2.py index 6585ce96..f6a3e8ea 100644 --- a/plugins/modules/ntnx_images_v2.py +++ b/plugins/modules/ntnx_images_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix Prism Central images. description: - This module allows you to create, update, and delete images in Nutanix. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_nodes_network_info_v2.py b/plugins/modules/ntnx_nodes_network_info_v2.py index 159dbe1b..a8bc90f3 100644 --- a/plugins/modules/ntnx_nodes_network_info_v2.py +++ b/plugins/modules/ntnx_nodes_network_info_v2.py @@ -13,6 +13,7 @@ short_description: Get netowrk information for uncofigured cluster nodes description: - This module allows you to Get netowrk information for uncofigured cluster nodes. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: cluster_ext_id: diff --git a/plugins/modules/ntnx_operations_info_v2.py b/plugins/modules/ntnx_operations_info_v2.py index 17de463d..a25cf4a8 100644 --- a/plugins/modules/ntnx_operations_info_v2.py +++ b/plugins/modules/ntnx_operations_info_v2.py @@ -16,6 +16,7 @@ description: - This module is used to get operations info - It can be used to get all operations info or specific permission info using external id + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_pbrs_info_v2.py b/plugins/modules/ntnx_pbrs_info_v2.py index e237df46..82fa5b64 100644 --- a/plugins/modules/ntnx_pbrs_info_v2.py +++ b/plugins/modules/ntnx_pbrs_info_v2.py @@ -17,6 +17,7 @@ - Fetch a single or list of all routing policies - if ext_id is provided, it will return the routing policy info - if ext_id is not provided, it will return the list of all routing policies + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_pbrs_v2.py b/plugins/modules/ntnx_pbrs_v2.py index bcd473e9..5f7d4e97 100644 --- a/plugins/modules/ntnx_pbrs_v2.py +++ b/plugins/modules/ntnx_pbrs_v2.py @@ -13,7 +13,9 @@ module: ntnx_pbrs_v2 short_description: Module for create, update and delete of Policy based routing. version_added: 2.0.0 -description: "Create, Update, Delete Routing Policies" +description: + - Create, Update, Delete Routing Policies + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_pc_registration_v2.py b/plugins/modules/ntnx_pc_registration_v2.py index 891f2bc6..27760c7e 100644 --- a/plugins/modules/ntnx_pc_registration_v2.py +++ b/plugins/modules/ntnx_pc_registration_v2.py @@ -16,6 +16,7 @@ description: - Registers a domain manager (Prism Central) instance to other entities like PE and PC - Unregisteration of a domain manager (Prism Central) instance is not supported + - This module uses PC v4 APIs based SDKs options: wait: description: Wait for the operation to complete. diff --git a/plugins/modules/ntnx_recovery_point_replicate_v2.py b/plugins/modules/ntnx_recovery_point_replicate_v2.py index 8d1ff38f..a9608b73 100644 --- a/plugins/modules/ntnx_recovery_point_replicate_v2.py +++ b/plugins/modules/ntnx_recovery_point_replicate_v2.py @@ -15,6 +15,7 @@ version_added: 2.0.0 description: - Replicate recovery points using external ID + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_recovery_point_restore_v2.py b/plugins/modules/ntnx_recovery_point_restore_v2.py index 51289b42..07075ecf 100644 --- a/plugins/modules/ntnx_recovery_point_restore_v2.py +++ b/plugins/modules/ntnx_recovery_point_restore_v2.py @@ -13,7 +13,9 @@ module: ntnx_recovery_point_restore_v2 short_description: Restore recovery points, Creates a clone of the VM/VG from the selected recovery point version_added: 2.0.0 -description: "Restore recovery points using external ID" +description: + - Restore recovery points using external ID + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_recovery_points_info_v2.py b/plugins/modules/ntnx_recovery_points_info_v2.py index 4ebc6b7d..4ceddfd4 100644 --- a/plugins/modules/ntnx_recovery_points_info_v2.py +++ b/plugins/modules/ntnx_recovery_points_info_v2.py @@ -16,6 +16,7 @@ description: - Fetch specific recovery point info using external ID - Fetch list of multiple recovery points info if external ID is not provided with optional filters + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_recovery_points_v2.py b/plugins/modules/ntnx_recovery_points_v2.py index e573ec6a..8fa0f132 100644 --- a/plugins/modules/ntnx_recovery_points_v2.py +++ b/plugins/modules/ntnx_recovery_points_v2.py @@ -13,7 +13,9 @@ module: ntnx_recovery_points_v2 short_description: Create, Update, Delete recovery points version_added: 2.0.0 -description: Create, Update Expiry Date, Delete recovery points +description: + - Create, Update Expiry Date, Delete recovery points + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_roles_info_v2.py b/plugins/modules/ntnx_roles_info_v2.py index eca3121c..66d81d46 100644 --- a/plugins/modules/ntnx_roles_info_v2.py +++ b/plugins/modules/ntnx_roles_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_roles_info_v2 short_description: Get roles info version_added: 2.0.0 -description: Get roles info using roles external ID or list all roles +description: + - Get roles info using roles external ID or list all roles + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_roles_v2.py b/plugins/modules/ntnx_roles_v2.py index c521aa82..250555c9 100644 --- a/plugins/modules/ntnx_roles_v2.py +++ b/plugins/modules/ntnx_roles_v2.py @@ -13,6 +13,7 @@ short_description: Create, update, and delete roles. description: - This module allows you to create, update, and delete roles. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_route_tables_info_v2.py b/plugins/modules/ntnx_route_tables_info_v2.py index cb7a1652..3c3e39b7 100644 --- a/plugins/modules/ntnx_route_tables_info_v2.py +++ b/plugins/modules/ntnx_route_tables_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_route_tables_info_v2 short_description: Route tables info module version_added: 2.0.0 -description: This module fetches route tables information +description: + - This module fetches route tables information + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_routes_info_v2.py b/plugins/modules/ntnx_routes_info_v2.py index 60daef5f..21c43c03 100644 --- a/plugins/modules/ntnx_routes_info_v2.py +++ b/plugins/modules/ntnx_routes_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_routes_info_v2 short_description: Routes info module version_added: 2.0.0 -description: This module fetches routes information +description: + - This module fetches routes information + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_routes_v2.py b/plugins/modules/ntnx_routes_v2.py index 0dc6c77f..e93445fb 100644 --- a/plugins/modules/ntnx_routes_v2.py +++ b/plugins/modules/ntnx_routes_v2.py @@ -14,7 +14,9 @@ module: ntnx_routes_v2 short_description: Module to create, update, and delete routes in route table in VPC version_added: 2.0.0 -description: "Create, Update, Delete routes in route table in VPC" +description: + - Create, Update, Delete routes in route table in VPC + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_saml_identity_providers_info_v2.py b/plugins/modules/ntnx_saml_identity_providers_info_v2.py index cdb86f19..5b683c0d 100644 --- a/plugins/modules/ntnx_saml_identity_providers_info_v2.py +++ b/plugins/modules/ntnx_saml_identity_providers_info_v2.py @@ -17,6 +17,7 @@ - Fetch a single or list of multiple identity providers - if external id is provided, it will return the identity provider info - if external id is not provided, it will return multiple identity providers + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_saml_identity_providers_v2.py b/plugins/modules/ntnx_saml_identity_providers_v2.py index 61229397..aafaee32 100644 --- a/plugins/modules/ntnx_saml_identity_providers_v2.py +++ b/plugins/modules/ntnx_saml_identity_providers_v2.py @@ -12,7 +12,9 @@ module: ntnx_saml_identity_providers_v2 short_description: Manage SAML identity providers in Nutanix PC version_added: "2.0.0" -description: "Create, Update, Delete SAML identity providers in Nutanix PC" +description: + - Create, Update, Delete SAML identity providers in Nutanix PC + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_security_rules_info_v2.py b/plugins/modules/ntnx_security_rules_info_v2.py index 4aa353eb..e4434de3 100644 --- a/plugins/modules/ntnx_security_rules_info_v2.py +++ b/plugins/modules/ntnx_security_rules_info_v2.py @@ -16,7 +16,7 @@ description: - Fetch list of multiple network security policies info. - Fetch specific network security policy info by ext_id. - + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_security_rules_v2.py b/plugins/modules/ntnx_security_rules_v2.py index e94cb0c0..09bc98ce 100644 --- a/plugins/modules/ntnx_security_rules_v2.py +++ b/plugins/modules/ntnx_security_rules_v2.py @@ -15,6 +15,7 @@ description: - This module allows you to create, update, and delete network security policies in Nutanix Prism Central. - During update, the rules provided under C(rules) will replace existing rules. + - This module uses PC v4 APIs based SDKs options: wait: description: diff --git a/plugins/modules/ntnx_service_groups_info_v2.py b/plugins/modules/ntnx_service_groups_info_v2.py index d8acc789..135148eb 100644 --- a/plugins/modules/ntnx_service_groups_info_v2.py +++ b/plugins/modules/ntnx_service_groups_info_v2.py @@ -16,6 +16,7 @@ description: - This module is used to get service groups info. - It can be used to get all service groups or a particular service group using ext_id. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_service_groups_v2.py b/plugins/modules/ntnx_service_groups_v2.py index 6c347c5b..32dd7829 100644 --- a/plugins/modules/ntnx_service_groups_v2.py +++ b/plugins/modules/ntnx_service_groups_v2.py @@ -20,6 +20,7 @@ - State of the service group, whether to create, update or delete. - present -> Create service group if external ID is not provided, Update service group if external ID is provided. - absent -> Delete service group with the given external ID. + - This module uses PC v4 APIs based SDKs type: str required: false choices: ['present', 'absent'] diff --git a/plugins/modules/ntnx_storage_containers_info_v2.py b/plugins/modules/ntnx_storage_containers_info_v2.py index f1394467..67effe50 100644 --- a/plugins/modules/ntnx_storage_containers_info_v2.py +++ b/plugins/modules/ntnx_storage_containers_info_v2.py @@ -17,6 +17,7 @@ - This module retrieves information about Nutanix storage continer from PC. - Fetch particular storage continer info using external ID - Fetch multiple storage continers info with/without using filters, limit, etc. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_storage_containers_stats_v2.py b/plugins/modules/ntnx_storage_containers_stats_v2.py index ef9970b4..054fd721 100644 --- a/plugins/modules/ntnx_storage_containers_stats_v2.py +++ b/plugins/modules/ntnx_storage_containers_stats_v2.py @@ -15,6 +15,7 @@ version_added: 2.0.0 description: - Get Stats for a Storage Container + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_storage_containers_v2.py b/plugins/modules/ntnx_storage_containers_v2.py index 81a39b1e..04e85f21 100644 --- a/plugins/modules/ntnx_storage_containers_v2.py +++ b/plugins/modules/ntnx_storage_containers_v2.py @@ -14,6 +14,7 @@ short_description: Manage storage containers in Nutanix Prism Central description: - This module allows you to create, update, and delete storage containers in Nutanix Prism Central. + - This module uses PC v4 APIs based SDKs version_added: 2.0.0 options: state: diff --git a/plugins/modules/ntnx_subnets_info_v2.py b/plugins/modules/ntnx_subnets_info_v2.py index a98a5876..80e77ef9 100644 --- a/plugins/modules/ntnx_subnets_info_v2.py +++ b/plugins/modules/ntnx_subnets_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_subnets_info_v2 short_description: subnet info module version_added: 2.0.0 -description: 'Fetch list of subnets or subnet info using subnet external ID' +description: + - Fetch list of subnets or subnet info using subnet external ID + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_subnets_v2.py b/plugins/modules/ntnx_subnets_v2.py index d2921415..9ab6903c 100644 --- a/plugins/modules/ntnx_subnets_v2.py +++ b/plugins/modules/ntnx_subnets_v2.py @@ -13,7 +13,9 @@ module: ntnx_subnets_v2 short_description: subnets module which supports Create, Update, Delete subnets version_added: 2.0.0 -description: "Create, Update, Delete subnets" +description: + - Create, Update, Delete subnets + - This module uses PC v4 APIs based SDKs notes: - For updating IPAM config using C(ip_config), provide all details again. Module will not fetch existing IPAM config. - For subnet create and delete, module will return tasks status in response after operation. diff --git a/plugins/modules/ntnx_templates_deploy_v2.py b/plugins/modules/ntnx_templates_deploy_v2.py index c987e6c9..222d00ec 100644 --- a/plugins/modules/ntnx_templates_deploy_v2.py +++ b/plugins/modules/ntnx_templates_deploy_v2.py @@ -13,6 +13,7 @@ short_description: Deploy Nutanix templates description: - This module allows you to deploy Nutanix templates. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: ext_id: diff --git a/plugins/modules/ntnx_templates_guest_os_v2.py b/plugins/modules/ntnx_templates_guest_os_v2.py index eda21ba7..3fbd8db2 100644 --- a/plugins/modules/ntnx_templates_guest_os_v2.py +++ b/plugins/modules/ntnx_templates_guest_os_v2.py @@ -13,6 +13,7 @@ short_description: Manage guest OS updates for Nutanix AHV templates. description: - This module allows you to initiate, complete, or cancel guest OS updates for Nutanix AHV templates. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_templates_info_v2.py b/plugins/modules/ntnx_templates_info_v2.py index 7fa8df89..0f9c9ffb 100644 --- a/plugins/modules/ntnx_templates_info_v2.py +++ b/plugins/modules/ntnx_templates_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_templates_info_v2 short_description: template info module version_added: 2.0.0 -description: 'Get templates info' +description: + - Get templates info + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_templates_v2.py b/plugins/modules/ntnx_templates_v2.py index ea6ac558..4e155d09 100644 --- a/plugins/modules/ntnx_templates_v2.py +++ b/plugins/modules/ntnx_templates_v2.py @@ -13,6 +13,7 @@ short_description: Manage Nutanix AHV template resources description: - This module allows you to create, update, and delete Nutanix AHV templates. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_templates_version_v2.py b/plugins/modules/ntnx_templates_version_v2.py index fe40e56e..c45fa6a4 100644 --- a/plugins/modules/ntnx_templates_version_v2.py +++ b/plugins/modules/ntnx_templates_version_v2.py @@ -13,6 +13,7 @@ short_description: Manage Nutanix template versions description: - This module allows you to publish or delete template versions in Nutanix. + - This module uses PC v4 APIs based SDKs version_added: '2.0.0' options: template_ext_id: diff --git a/plugins/modules/ntnx_templates_versions_info_v2.py b/plugins/modules/ntnx_templates_versions_info_v2.py index c7bc3801..70b3cd44 100644 --- a/plugins/modules/ntnx_templates_versions_info_v2.py +++ b/plugins/modules/ntnx_templates_versions_info_v2.py @@ -15,6 +15,7 @@ description: - This module fetches information about Nutanix template versions. - It can retrieve information about a specific template version or all template versions. + - This module uses PC v4 APIs based SDKs options: template_ext_id: description: diff --git a/plugins/modules/ntnx_user_groups_info_v2.py b/plugins/modules/ntnx_user_groups_info_v2.py index 737ed176..fc8b27d3 100644 --- a/plugins/modules/ntnx_user_groups_info_v2.py +++ b/plugins/modules/ntnx_user_groups_info_v2.py @@ -16,6 +16,7 @@ description: - This module is used to get user_group information. - Fetch a specific user group using ext_id or multiple user groups + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_user_groups_v2.py b/plugins/modules/ntnx_user_groups_v2.py index 931a71c6..249cdc64 100644 --- a/plugins/modules/ntnx_user_groups_v2.py +++ b/plugins/modules/ntnx_user_groups_v2.py @@ -12,7 +12,9 @@ --- module: ntnx_user_groups_v2 short_description: Create and Delete user groups -description: "Create and Delete user groups in Nutanix PC" +description: + - Create and Delete user groups in Nutanix PC + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: state: diff --git a/plugins/modules/ntnx_users_info_v2.py b/plugins/modules/ntnx_users_info_v2.py index ad60e0db..1cfa8ba8 100644 --- a/plugins/modules/ntnx_users_info_v2.py +++ b/plugins/modules/ntnx_users_info_v2.py @@ -13,7 +13,9 @@ module: ntnx_users_info_v2 short_description: Get users info version_added: 2.0.0 -description: Get users info using user external ID or list multiple users +description: + - Get users info using user external ID or list multiple users + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_users_v2.py b/plugins/modules/ntnx_users_v2.py index eeb3bb41..9b9c850f 100644 --- a/plugins/modules/ntnx_users_v2.py +++ b/plugins/modules/ntnx_users_v2.py @@ -14,6 +14,7 @@ version_added: "2.0.0" description: - This module allows you to create and update users. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_vm_recovery_point_info_v2.py b/plugins/modules/ntnx_vm_recovery_point_info_v2.py index e5cbb20a..85990369 100644 --- a/plugins/modules/ntnx_vm_recovery_point_info_v2.py +++ b/plugins/modules/ntnx_vm_recovery_point_info_v2.py @@ -15,6 +15,7 @@ version_added: 2.0.0 description: - Fetch specific VM recovery point info which is part of top level recovery point + - This module uses PC v4 APIs based SDKs options: recovery_point_ext_id: description: diff --git a/plugins/modules/ntnx_vm_revert_v2.py b/plugins/modules/ntnx_vm_revert_v2.py index a9d09b08..b88bf10f 100644 --- a/plugins/modules/ntnx_vm_revert_v2.py +++ b/plugins/modules/ntnx_vm_revert_v2.py @@ -15,6 +15,7 @@ version_added: 2.0.0 description: - Revert VM from recovery point using VM external ID + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_vms_categories_v2.py b/plugins/modules/ntnx_vms_categories_v2.py index 73815765..daf4f150 100644 --- a/plugins/modules/ntnx_vms_categories_v2.py +++ b/plugins/modules/ntnx_vms_categories_v2.py @@ -13,6 +13,7 @@ short_description: Associate or disassociate categories to a VM in AHV Nutanix. description: - This module allows you to associate or disassociate categories to a AHV VM in Nutanix. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: categories: diff --git a/plugins/modules/ntnx_vms_cd_rom_info_v2.py b/plugins/modules/ntnx_vms_cd_rom_info_v2.py index 4dda1ea6..becc59a7 100644 --- a/plugins/modules/ntnx_vms_cd_rom_info_v2.py +++ b/plugins/modules/ntnx_vms_cd_rom_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix VM's CD ROM. - The module can fetch information about all CD ROMs or a specific CD ROM. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_cd_rom_iso_v2.py b/plugins/modules/ntnx_vms_cd_rom_iso_v2.py index fb3c5bad..65f754bb 100644 --- a/plugins/modules/ntnx_vms_cd_rom_iso_v2.py +++ b/plugins/modules/ntnx_vms_cd_rom_iso_v2.py @@ -15,6 +15,7 @@ version_added: "2.0.0" description: - This module can insert or eject ISO from CD ROM of Nutanix VMs + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_vms_cd_rom_v2.py b/plugins/modules/ntnx_vms_cd_rom_v2.py index cace4dea..927b8ba9 100644 --- a/plugins/modules/ntnx_vms_cd_rom_v2.py +++ b/plugins/modules/ntnx_vms_cd_rom_v2.py @@ -15,6 +15,7 @@ version_added: "2.0.0" description: - This module allows you to create and remove CDROM for Nutanix AHV VMs. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_vms_clone_v2.py b/plugins/modules/ntnx_vms_clone_v2.py index 5d30a6f8..f6cecd7f 100644 --- a/plugins/modules/ntnx_vms_clone_v2.py +++ b/plugins/modules/ntnx_vms_clone_v2.py @@ -14,6 +14,7 @@ version_added: "2.0.0" description: - This module allows you to clone a virtual machine in Nutanix AHV. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_vms_disks_info_v2.py b/plugins/modules/ntnx_vms_disks_info_v2.py index 5b4d714c..a7ce0479 100644 --- a/plugins/modules/ntnx_vms_disks_info_v2.py +++ b/plugins/modules/ntnx_vms_disks_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix VM's disks. - The module can fetch information about all disks or a specific disks. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_disks_v2.py b/plugins/modules/ntnx_vms_disks_v2.py index 8eb40c6f..557d531e 100644 --- a/plugins/modules/ntnx_vms_disks_v2.py +++ b/plugins/modules/ntnx_vms_disks_v2.py @@ -15,6 +15,7 @@ version_added: "2.0.0" description: - This module allows you to manage disks for Nutanix AHV VMs. + - This module uses PC v4 APIs based SDKs options: state: description: diff --git a/plugins/modules/ntnx_vms_info_v2.py b/plugins/modules/ntnx_vms_info_v2.py index 16198171..9365aeb5 100644 --- a/plugins/modules/ntnx_vms_info_v2.py +++ b/plugins/modules/ntnx_vms_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix AHV based PC VMs - The module can fetch information about all VMs or a specific AHV based PC VMs + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_ngt_info_v2.py b/plugins/modules/ntnx_vms_ngt_info_v2.py index 0154daf7..84169d6f 100644 --- a/plugins/modules/ntnx_vms_ngt_info_v2.py +++ b/plugins/modules/ntnx_vms_ngt_info_v2.py @@ -13,6 +13,7 @@ short_description: Get Nutanix Guest Tools (NGT) current config for a virtual machine. description: - This module retrieves Nutanix Guest Tools (NGT) current config for a virtual machine in a Nutanix cluster. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_ngt_insert_iso_v2.py b/plugins/modules/ntnx_vms_ngt_insert_iso_v2.py index cc80364d..e92e4410 100644 --- a/plugins/modules/ntnx_vms_ngt_insert_iso_v2.py +++ b/plugins/modules/ntnx_vms_ngt_insert_iso_v2.py @@ -13,6 +13,7 @@ short_description: Insert Nutanix Guest Tools (NGT) ISO into a virtual machine. description: - This module allows you to insert the Nutanix Guest Tools (NGT) ISO into a virtual machine's available CD-ROM in Nutanix PC. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_ngt_update_v2.py b/plugins/modules/ntnx_vms_ngt_update_v2.py index 9f500574..364e8a13 100644 --- a/plugins/modules/ntnx_vms_ngt_update_v2.py +++ b/plugins/modules/ntnx_vms_ngt_update_v2.py @@ -14,6 +14,7 @@ version_added: "2.0.0" description: - This module allows you to update the Nutanix Guest Tools (NGT) configuration for a VM. + - This module uses PC v4 APIs based SDKs author: - Pradeepsingh Bhati (@bhati-pradeep) options: diff --git a/plugins/modules/ntnx_vms_ngt_upgrade_v2.py b/plugins/modules/ntnx_vms_ngt_upgrade_v2.py index 6b74a4fa..c766c238 100644 --- a/plugins/modules/ntnx_vms_ngt_upgrade_v2.py +++ b/plugins/modules/ntnx_vms_ngt_upgrade_v2.py @@ -14,6 +14,7 @@ version_added: "2.0.0" description: - This module upgrades Nutanix Guest Tools (NGT) on a VM in a Nutanix PC. + - This module uses PC v4 APIs based SDKs author: - Pradeepsingh Bhati (@bhati-pradeep) options: diff --git a/plugins/modules/ntnx_vms_ngt_v2.py b/plugins/modules/ntnx_vms_ngt_v2.py index 460578b6..c1eafb31 100644 --- a/plugins/modules/ntnx_vms_ngt_v2.py +++ b/plugins/modules/ntnx_vms_ngt_v2.py @@ -14,6 +14,7 @@ short_description: Install or uninstall Nutanix Guest Tools (NGT) on a VM. description: - This module allows you to install or uninstall Nutanix Guest Tools (NGT) on a VM in a Nutanix cluster. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_nics_info_v2.py b/plugins/modules/ntnx_vms_nics_info_v2.py index 20bcd53c..53fe9ead 100644 --- a/plugins/modules/ntnx_vms_nics_info_v2.py +++ b/plugins/modules/ntnx_vms_nics_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix VM's NICs. - The module can fetch information about all NICs or a specific NICs. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: ext_id: diff --git a/plugins/modules/ntnx_vms_nics_ip_v2.py b/plugins/modules/ntnx_vms_nics_ip_v2.py index 8cfb702c..a8b8d09f 100644 --- a/plugins/modules/ntnx_vms_nics_ip_v2.py +++ b/plugins/modules/ntnx_vms_nics_ip_v2.py @@ -13,6 +13,7 @@ short_description: Assign/Release IP to/from Nutanix VM NICs. description: - This module allows you to assign or release IP from Nutanix VM NICs. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_nics_migrate_v2.py b/plugins/modules/ntnx_vms_nics_migrate_v2.py index 33679ae6..fd42448d 100644 --- a/plugins/modules/ntnx_vms_nics_migrate_v2.py +++ b/plugins/modules/ntnx_vms_nics_migrate_v2.py @@ -13,6 +13,7 @@ short_description: Migrate a NIC to another subnet in Nutanix VM. description: - Migrates a network device attached to a Virtual Machine to another subnet. + - This module uses PC v4 APIs based SDKs author: - Pradeepsingh Bhati (@bhati-pradeep) options: diff --git a/plugins/modules/ntnx_vms_nics_v2.py b/plugins/modules/ntnx_vms_nics_v2.py index 90e6a4ba..568743c0 100644 --- a/plugins/modules/ntnx_vms_nics_v2.py +++ b/plugins/modules/ntnx_vms_nics_v2.py @@ -13,6 +13,7 @@ short_description: Manage NICs of Nutanix VMs description: - This module allows you to create, update, and delete NICs of Nutanix VMs. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_power_actions_v2.py b/plugins/modules/ntnx_vms_power_actions_v2.py index 2c08cf20..65de9127 100644 --- a/plugins/modules/ntnx_vms_power_actions_v2.py +++ b/plugins/modules/ntnx_vms_power_actions_v2.py @@ -14,6 +14,7 @@ short_description: Perform power actions on Nutanix VMs description: - This module allows you to perform power actions on Nutanix VMs, such as powering on, powering off, resetting, and more. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_vms_serial_port_info_v2.py b/plugins/modules/ntnx_vms_serial_port_info_v2.py index 6c07d784..ab0a9705 100644 --- a/plugins/modules/ntnx_vms_serial_port_info_v2.py +++ b/plugins/modules/ntnx_vms_serial_port_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix VM's serial ports. - The module can fetch information about all serial ports or a specific serial ports. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vms_serial_port_v2.py b/plugins/modules/ntnx_vms_serial_port_v2.py index 6045d70e..2a610c85 100644 --- a/plugins/modules/ntnx_vms_serial_port_v2.py +++ b/plugins/modules/ntnx_vms_serial_port_v2.py @@ -13,6 +13,7 @@ version_added: "2.0.0" description: - This module allows you to manage serial port for Nutanix AHV VMs. + - This module uses PC v4 APIs based SDKs short_description: VM Serial Port module which supports VM serial port CRUD states options: state: diff --git a/plugins/modules/ntnx_vms_stage_guest_customization_v2.py b/plugins/modules/ntnx_vms_stage_guest_customization_v2.py index 4f309743..a431bb4c 100644 --- a/plugins/modules/ntnx_vms_stage_guest_customization_v2.py +++ b/plugins/modules/ntnx_vms_stage_guest_customization_v2.py @@ -15,6 +15,7 @@ short_description: Stage guest customization configuration for a Nutanix VM description: - This module stages guest customization configuration for a Nutanix VM. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" options: ext_id: diff --git a/plugins/modules/ntnx_vms_v2.py b/plugins/modules/ntnx_vms_v2.py index f8cf832f..70dbb4a7 100644 --- a/plugins/modules/ntnx_vms_v2.py +++ b/plugins/modules/ntnx_vms_v2.py @@ -12,7 +12,9 @@ module: ntnx_vms_v2 short_description: "Create, Update and delete VMs in Nutanix AHV based PC" version_added: 2.0.0 -description: "Create, Update and delete VMs in Nutanix AHV based PC" +description: + - Create, Update and delete VMs in Nutanix AHV based PC + - This module uses PC v4 APIs based SDKs notes: - During vm update, Update or create of subresources like disks, nics, cd_roms, gpus, serial_ports, etc. is not supported. - Use subresources specific modules to update or create subresources. diff --git a/plugins/modules/ntnx_volume_groups_categories_info_v2.py b/plugins/modules/ntnx_volume_groups_categories_info_v2.py index 2d26cc3b..e7c906a1 100644 --- a/plugins/modules/ntnx_volume_groups_categories_info_v2.py +++ b/plugins/modules/ntnx_volume_groups_categories_info_v2.py @@ -15,6 +15,7 @@ short_description: Fetch list of attached categories to VG description: - Fetch list of attached categories to VG + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_disks_info_v2.py b/plugins/modules/ntnx_volume_groups_disks_info_v2.py index 52779329..d69cf2c0 100644 --- a/plugins/modules/ntnx_volume_groups_disks_info_v2.py +++ b/plugins/modules/ntnx_volume_groups_disks_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix PC Volume groups disks. - The module can fetch information about all Volume groups or a specific Volume group disk. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_disks_v2.py b/plugins/modules/ntnx_volume_groups_disks_v2.py index 9ca32e10..532ee787 100644 --- a/plugins/modules/ntnx_volume_groups_disks_v2.py +++ b/plugins/modules/ntnx_volume_groups_disks_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix volume group disks description: - This module allows you to create and delete volume group disks in Nutanix. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_info_v2.py b/plugins/modules/ntnx_volume_groups_info_v2.py index a0d00943..eea3aaa0 100644 --- a/plugins/modules/ntnx_volume_groups_info_v2.py +++ b/plugins/modules/ntnx_volume_groups_info_v2.py @@ -14,6 +14,7 @@ description: - This module fetches information about Nutanix PC Volume groups. - The module can fetch information about all Volume groups or a specific Volume group. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_iscsi_clients_info_v2.py b/plugins/modules/ntnx_volume_groups_iscsi_clients_info_v2.py index 5323614c..2f721d92 100644 --- a/plugins/modules/ntnx_volume_groups_iscsi_clients_info_v2.py +++ b/plugins/modules/ntnx_volume_groups_iscsi_clients_info_v2.py @@ -16,6 +16,7 @@ - By default, Fetch all iscsi clients currently attached to any VG - Fetch iscsi client if C(ext_id) is given - Fetch all iscsi clients attached to a particular VG if C(volume_group_ext_id) is given + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_iscsi_clients_v2.py b/plugins/modules/ntnx_volume_groups_iscsi_clients_v2.py index fea64fe9..b697e742 100644 --- a/plugins/modules/ntnx_volume_groups_iscsi_clients_v2.py +++ b/plugins/modules/ntnx_volume_groups_iscsi_clients_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix volume groups iscsi clients in Nutanix PC. description: - This module allows you to attach & detach ISCSI clients to/from a volume group in a Nutanix cluster. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_v2.py b/plugins/modules/ntnx_volume_groups_v2.py index e02f74c0..dca8ae4a 100644 --- a/plugins/modules/ntnx_volume_groups_v2.py +++ b/plugins/modules/ntnx_volume_groups_v2.py @@ -14,6 +14,7 @@ short_description: Manage Nutanix volume group in PC description: - This module allows you to create and delete volume group in Nutanix PC. + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_vms_info_v2.py b/plugins/modules/ntnx_volume_groups_vms_info_v2.py index 11b54657..623ba7be 100644 --- a/plugins/modules/ntnx_volume_groups_vms_info_v2.py +++ b/plugins/modules/ntnx_volume_groups_vms_info_v2.py @@ -14,6 +14,7 @@ short_description: Fetch VG attached VMs info description: - Fetch all VMs info attached to VM + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_volume_groups_vms_v2.py b/plugins/modules/ntnx_volume_groups_vms_v2.py index ef66fcb1..c744b044 100644 --- a/plugins/modules/ntnx_volume_groups_vms_v2.py +++ b/plugins/modules/ntnx_volume_groups_vms_v2.py @@ -14,6 +14,7 @@ short_description: Attach/Detach volume group to AHV VMs in Nutanix PC description: - Attach/Detach volume group to AHV VMs in Nutanix PC + - This module uses PC v4 APIs based SDKs version_added: "2.0.0" author: - Pradeepsingh Bhati (@bhati-pradeep) diff --git a/plugins/modules/ntnx_vpcs_info_v2.py b/plugins/modules/ntnx_vpcs_info_v2.py index 28e23efb..c16f1da1 100644 --- a/plugins/modules/ntnx_vpcs_info_v2.py +++ b/plugins/modules/ntnx_vpcs_info_v2.py @@ -16,6 +16,7 @@ description: - This module fetches information about Nutanix vpcs. - The module can fetch information about all vpcs or a specific vpc. + - This module uses PC v4 APIs based SDKs options: ext_id: description: diff --git a/plugins/modules/ntnx_vpcs_v2.py b/plugins/modules/ntnx_vpcs_v2.py index 03568585..2612efaa 100644 --- a/plugins/modules/ntnx_vpcs_v2.py +++ b/plugins/modules/ntnx_vpcs_v2.py @@ -13,7 +13,9 @@ module: ntnx_vpcs_v2 short_description: vpcs module which supports vpc CRUD operations version_added: 2.0.0 -description: "Create, Update, Delete vpcs" +description: + - Create, Update, Delete vpcs + - This module uses PC v4 APIs based SDKs options: state: description: From 896966847d378af640ebc2c9adbb14f18791d88e Mon Sep 17 00:00:00 2001 From: George Ghawali Date: Sun, 22 Dec 2024 12:07:58 +0200 Subject: [PATCH 2/2] Black fix --- plugins/modules/ntnx_authorization_policies_v2.py | 6 +++--- plugins/modules/ntnx_recovery_points_v2.py | 12 ++++++------ plugins/modules/ntnx_templates_deploy_v2.py | 6 +++--- plugins/modules/ntnx_vms_cd_rom_iso_v2.py | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/plugins/modules/ntnx_authorization_policies_v2.py b/plugins/modules/ntnx_authorization_policies_v2.py index c6167fb9..719ce6b0 100644 --- a/plugins/modules/ntnx_authorization_policies_v2.py +++ b/plugins/modules/ntnx_authorization_policies_v2.py @@ -426,9 +426,9 @@ def delete_authorization_policy(module, result): result["changed"] = True if resp is None: - result["msg"] = ( - "Authorization policy with ext_id: {} deleted successfully".format(ext_id) - ) + result[ + "msg" + ] = "Authorization policy with ext_id: {} deleted successfully".format(ext_id) else: result["response"] = strip_internal_attributes(resp.to_dict()) diff --git a/plugins/modules/ntnx_recovery_points_v2.py b/plugins/modules/ntnx_recovery_points_v2.py index 8fa0f132..4f30c436 100644 --- a/plugins/modules/ntnx_recovery_points_v2.py +++ b/plugins/modules/ntnx_recovery_points_v2.py @@ -391,9 +391,9 @@ def update_expiry_date_recovery_point(module, result): new_expiration_time = module.params.get("expiration_time") if new_expiration_time is None: - result["error"] = ( - "Expiration time is required for updating recovery point and other fields can't be updated." - ) + result[ + "error" + ] = "Expiration time is required for updating recovery point and other fields can't be updated." module.fail_json(msg="Expiration time is required", **result) if int(old_expiration_time.timestamp()) == int( @@ -415,9 +415,9 @@ def update_expiry_date_recovery_point(module, result): elif not check_recovery_point_idempotency_without_expiration( old_spec.to_dict(), update_spec.to_dict() ): - result["warning"] = ( - "Only Expiration time Updation is allowed. Can't update other fields." - ) + result[ + "warning" + ] = "Only Expiration time Updation is allowed. Can't update other fields." expirationTimeSpec = data_protection_sdk.ExpirationTimeSpec() expirationTimeSpec.expiration_time = new_expiration_time diff --git a/plugins/modules/ntnx_templates_deploy_v2.py b/plugins/modules/ntnx_templates_deploy_v2.py index 222d00ec..a0285562 100644 --- a/plugins/modules/ntnx_templates_deploy_v2.py +++ b/plugins/modules/ntnx_templates_deploy_v2.py @@ -471,9 +471,9 @@ def deploy_template(module, result): if module.check_mode: result["response"] = strip_internal_attributes(spec.to_dict()) version_ext_id = module.params.get("version_id") - result["msg"] = ( - f"Template ({ext_id}) with given version ({version_ext_id}) will be deployed." - ) + result[ + "msg" + ] = f"Template ({ext_id}) with given version ({version_ext_id}) will be deployed." return etag = get_etag(data=current_spec) diff --git a/plugins/modules/ntnx_vms_cd_rom_iso_v2.py b/plugins/modules/ntnx_vms_cd_rom_iso_v2.py index 65f754bb..f054d898 100644 --- a/plugins/modules/ntnx_vms_cd_rom_iso_v2.py +++ b/plugins/modules/ntnx_vms_cd_rom_iso_v2.py @@ -343,9 +343,9 @@ def eject_iso(module, vms, result): result["ext_id"] = ext_id if module.check_mode: - result["response"] = ( - "ISO will be ejected from CD ROM with external ID: {0}".format(ext_id) - ) + result[ + "response" + ] = "ISO will be ejected from CD ROM with external ID: {0}".format(ext_id) return