diff --git a/galaxy.yml b/galaxy.yml index eacb3f9..cb7e0bc 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: cohesity name: dataprotect # The version of the collection. Must be compatible with semantic versioning -version: 1.1.7 +version: 1.1.8 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/plugins/module_utils/cohesity_auth.py b/plugins/module_utils/cohesity_auth.py index b1de731..dfb4bae 100644 --- a/plugins/module_utils/cohesity_auth.py +++ b/plugins/module_utils/cohesity_auth.py @@ -13,7 +13,7 @@ module_utils: cohesity_auth short_description: The **CohesityAuth** utils module provides the authentication token manage for Cohesity Platforms. -version_added: 1.1.7 +version_added: 1.1.8 description: - The **CohesityAuth** utils module provides the authentication token manage for Cohesity Platforms. diff --git a/plugins/module_utils/cohesity_hints.py b/plugins/module_utils/cohesity_hints.py index b84cb6c..c9200dd 100644 --- a/plugins/module_utils/cohesity_hints.py +++ b/plugins/module_utils/cohesity_hints.py @@ -14,7 +14,7 @@ module_utils: cohesity_hints short_description: The **CohesityHints** utils module provides standard methods for returning query data from Cohesity Platforms. -version_added: 1.1.7 +version_added: 1.1.8 description: - The **CohesityHints** utils module provides standard methods for returning query data from Cohesity Platforms. @@ -640,7 +640,7 @@ def unregister_source(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( @@ -714,7 +714,7 @@ def check__protection_group__exists(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + self["token"], - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -773,7 +773,7 @@ def get_resource_pool_id(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/module_utils/cohesity_utilities.py b/plugins/module_utils/cohesity_utilities.py index 17fca2c..e319da6 100644 --- a/plugins/module_utils/cohesity_utilities.py +++ b/plugins/module_utils/cohesity_utilities.py @@ -13,7 +13,7 @@ module_utils: cohesity_utilities short_description: The **CohesityUtilities** utils module provides the authentication token manage for Cohesity Platforms. -version_added: 1.1.7 +version_added: 1.1.8 description: - The **CohesityUtilities** utils module provides the authentication token manage for Cohesity Platforms. diff --git a/plugins/modules/cohesity_agent.py b/plugins/modules/cohesity_agent.py index 6b87169..1ef8617 100644 --- a/plugins/modules/cohesity_agent.py +++ b/plugins/modules/cohesity_agent.py @@ -305,7 +305,7 @@ def download_agent(module, path): headers = { "Accept": "application/octet-stream", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } elif not module.params.get("download_uri"): os_type = "Linux" @@ -334,13 +334,13 @@ def download_agent(module, path): headers = { "Accept": "application/octet-stream", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } else: uri = module.params.get("download_uri") headers = { "Accept": "application/octet-stream", - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } agent = open_url( @@ -612,7 +612,7 @@ def get_source_details(module, source_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -664,7 +664,7 @@ def update_agent(module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = {"agentIds": [source_details["agent"]["id"]]} open_url( diff --git a/plugins/modules/cohesity_cancel_migration.py b/plugins/modules/cohesity_cancel_migration.py index be270f5..efc39ee 100644 --- a/plugins/modules/cohesity_cancel_migration.py +++ b/plugins/modules/cohesity_cancel_migration.py @@ -64,7 +64,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Cancel the VM migration -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -129,7 +129,7 @@ def check__protection_restore__exists(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -176,7 +176,7 @@ def cancel_migration(module, task_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/modules/cohesity_clone_vm.py b/plugins/modules/cohesity_clone_vm.py index 720b39d..dbc48c0 100644 --- a/plugins/modules/cohesity_clone_vm.py +++ b/plugins/modules/cohesity_clone_vm.py @@ -127,7 +127,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of Cohesity VM Clone" -version_added: 1.1.7 +version_added: 1.1.8 """ @@ -506,7 +506,7 @@ def main(): global cohesity_client base_controller = BaseController() - base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.7" + base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.8" cohesity_client = get_cohesity_client(module) clone_exists, clone_details = get_clone_task(module, False) diff --git a/plugins/modules/cohesity_facts.py b/plugins/modules/cohesity_facts.py index 646f3da..dc77400 100644 --- a/plugins/modules/cohesity_facts.py +++ b/plugins/modules/cohesity_facts.py @@ -15,7 +15,7 @@ short_description: Gather facts about a Cohesity Cluster. description: - Gather facts about Cohesity Clusters. -version_added: 1.1.7 +version_added: 1.1.8 author: "Naveena (@naveena-maplelabs)" options: cluster: diff --git a/plugins/modules/cohesity_finalize_migration.py b/plugins/modules/cohesity_finalize_migration.py index c5a9fd1..a284914 100644 --- a/plugins/modules/cohesity_finalize_migration.py +++ b/plugins/modules/cohesity_finalize_migration.py @@ -65,7 +65,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Finalize the VM migration -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -154,7 +154,7 @@ def finalize_migration(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } body = { "restoreTaskId": self["task_id"], diff --git a/plugins/modules/cohesity_job.py b/plugins/modules/cohesity_job.py index ab5124e..60b9a80 100644 --- a/plugins/modules/cohesity_job.py +++ b/plugins/modules/cohesity_job.py @@ -227,7 +227,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of Cohesity Protection Jobs" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -586,7 +586,7 @@ def get_vmware_ids(module, job_meta_data, job_details, vm_names): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -624,7 +624,7 @@ def get_vmware_vm_ids(module, job_meta_data, job_details, vm_names): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -669,7 +669,7 @@ def get_view_storage_domain_id(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -734,7 +734,7 @@ def register_job(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -839,7 +839,7 @@ def start_job(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } source_ids = payload.get("sourceIds", []) payload = dict() @@ -898,7 +898,7 @@ def update_job(module, job_details, update_source_ids=None): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = job_details.copy() del payload["token"] @@ -960,7 +960,7 @@ def get_prot_job_details(self, module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -1021,7 +1021,7 @@ def stop_job(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -1085,7 +1085,7 @@ def unregister_job(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = dict(deleteSnapshots=self["deleteSnapshots"]) diff --git a/plugins/modules/cohesity_migrate_vm.py b/plugins/modules/cohesity_migrate_vm.py index 0ce5c64..1b946fd 100644 --- a/plugins/modules/cohesity_migrate_vm.py +++ b/plugins/modules/cohesity_migrate_vm.py @@ -177,7 +177,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Migrate one or more Virtual Machines from Cohesity Migrate Jobs -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -290,7 +290,7 @@ def get_source_details(module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -340,7 +340,7 @@ def get_vm_folder_id(module, source_id, resource_pool_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -390,7 +390,7 @@ def get_resource_pool_id(module, source_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -451,7 +451,7 @@ def get_datastore_id(module, source_id, resource_pool_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -500,7 +500,7 @@ def get_network_id(module, source_id, resource_pool_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -547,7 +547,7 @@ def get_backup_job_run_id(module, job_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -587,7 +587,7 @@ def get_backup_job_ids(module, job_names): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -631,7 +631,7 @@ def get_vmware_source_objects(module, source_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( @@ -693,7 +693,7 @@ def start_restore(module, uri, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -735,7 +735,7 @@ def create_migration_task(module, body): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } # module.fail_json(msg=body) response = open_url( @@ -825,7 +825,7 @@ def get_protection_groups(module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/modules/cohesity_migration_status.py b/plugins/modules/cohesity_migration_status.py index 28c71b2..411d174 100644 --- a/plugins/modules/cohesity_migration_status.py +++ b/plugins/modules/cohesity_migration_status.py @@ -61,7 +61,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Check Sync status of objects available in the VM migration task -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -148,7 +148,7 @@ def get_migration_status(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -180,7 +180,7 @@ def get_task_status(module, task_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/modules/cohesity_oracle_job.py b/plugins/modules/cohesity_oracle_job.py index 2e366cb..d641304 100644 --- a/plugins/modules/cohesity_oracle_job.py +++ b/plugins/modules/cohesity_oracle_job.py @@ -131,7 +131,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of Cohesity Protection Jobs" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ diff --git a/plugins/modules/cohesity_oracle_restore.py b/plugins/modules/cohesity_oracle_restore.py index eb8113c..8d8fefa 100644 --- a/plugins/modules/cohesity_oracle_restore.py +++ b/plugins/modules/cohesity_oracle_restore.py @@ -135,7 +135,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Restore one or more Virtual Machines from Cohesity Protection Jobs" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ diff --git a/plugins/modules/cohesity_oracle_source.py b/plugins/modules/cohesity_oracle_source.py index ac4ad9a..857385c 100644 --- a/plugins/modules/cohesity_oracle_source.py +++ b/plugins/modules/cohesity_oracle_source.py @@ -82,7 +82,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of Cohesity Protection Sources" -version_added: 1.1.7 +version_added: 1.1.8 """ diff --git a/plugins/modules/cohesity_plugin.py b/plugins/modules/cohesity_plugin.py index 6eec33e..df88a51 100644 --- a/plugins/modules/cohesity_plugin.py +++ b/plugins/modules/cohesity_plugin.py @@ -92,7 +92,7 @@ - "Determines whether to upgrade the connector plugin if already installed." type: bool short_description: "Management of Cohesity Datastore Plugin" -version_added: "1.1.7" +version_added: "1.1.8" """ EXAMPLES = """ @@ -205,7 +205,7 @@ def download_datastore_plugin(module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-plugin": "cohesity-ansible/v1.1.7", + "user-plugin": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -252,7 +252,7 @@ def update_global_allow_lists(module): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-plugin": "cohesity-ansible/v1.1.7", + "user-plugin": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/modules/cohesity_policy.py b/plugins/modules/cohesity_policy.py index dd01d42..0cf978b 100644 --- a/plugins/modules/cohesity_policy.py +++ b/plugins/modules/cohesity_policy.py @@ -103,7 +103,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Cohesity Protection Policy" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -506,7 +506,7 @@ def main(): global cohesity_client base_controller = BaseController() - base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.7" + base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.8" cohesity_client = get_cohesity_client(module) policy_exists, policy_details = get_policy_details(module) diff --git a/plugins/modules/cohesity_restore_file.py b/plugins/modules/cohesity_restore_file.py index c46d5a1..92b1c8f 100644 --- a/plugins/modules/cohesity_restore_file.py +++ b/plugins/modules/cohesity_restore_file.py @@ -15,7 +15,7 @@ - Ansible Module used to start a Cohesity Recovery Job on a Cohesity Cluster. - When executed in a playbook, the Cohesity Recovery Job will be validated and the appropriate state action - will be applied. -version_added: 1.1.7 +version_added: 1.1.8 author: "Naveena (@naveena-maplelabs)" options: cluster: @@ -379,7 +379,7 @@ def start_restore(module, uri, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -428,7 +428,7 @@ def wait_restore_complete(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } attempts = 0 # => Wait for the restore based on a predetermined number of minutes with checks every 30 seconds. diff --git a/plugins/modules/cohesity_restore_vm.py b/plugins/modules/cohesity_restore_vm.py index 82f8033..437d410 100644 --- a/plugins/modules/cohesity_restore_vm.py +++ b/plugins/modules/cohesity_restore_vm.py @@ -190,7 +190,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Restore one or more Virtual Machines from Cohesity Protection Jobs" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -305,7 +305,7 @@ def get_source_details(module, restore_to_source): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, @@ -354,7 +354,7 @@ def get_vmware_source_objects(module, source_id): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( @@ -432,7 +432,7 @@ def get__vmware_snapshot_information__by_source(module, self, source_details): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } objects = open_url( url=uri, @@ -580,7 +580,7 @@ def start_restore(module, uri, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -629,7 +629,7 @@ def wait_restore_complete(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } attempts = 0 # => Wait for the restore based on a predetermined number of minutes with checks every 30 seconds. diff --git a/plugins/modules/cohesity_restore_vmware_file.py b/plugins/modules/cohesity_restore_vmware_file.py index 345b4f5..3a9ecc5 100644 --- a/plugins/modules/cohesity_restore_vmware_file.py +++ b/plugins/modules/cohesity_restore_vmware_file.py @@ -14,7 +14,7 @@ - Ansible Module used to start a Cohesity Recovery Job on a Cohesity Cluster. - When executed in a playbook, the Cohesity Recovery Job will be validated and the appropriate state action - will be applied. -version_added: 1.1.7 +version_added: 1.1.8 author: "Naveena (@naveena-maplelabs)" options: @@ -265,7 +265,7 @@ def start_restore(module, uri, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() @@ -353,7 +353,7 @@ def wait_restore_complete(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } attempts = 0 # => Wait for the restore based on a predetermined number of minutes with checks every 30 seconds. @@ -452,7 +452,7 @@ def main(): global cohesity_client base_controller = BaseController() - base_controller.global_headers["user-agent"] = "Ansible-v1.1.7" + base_controller.global_headers["user-agent"] = "Ansible-v1.1.8" cohesity_client = get_cohesity_client(module) if module.params.get("backup_id"): diff --git a/plugins/modules/cohesity_source.py b/plugins/modules/cohesity_source.py index ea24654..bc4cfd8 100644 --- a/plugins/modules/cohesity_source.py +++ b/plugins/modules/cohesity_source.py @@ -187,7 +187,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of Cohesity Protection Sources" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -375,7 +375,7 @@ def refresh_source(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } uri = ( "https://" @@ -420,7 +420,7 @@ def register_sql_source(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } sql_payload = dict( applications=["kSQL"], @@ -468,7 +468,7 @@ def register_source(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = self.copy() payload["environment"] = "k" + self["environment"] diff --git a/plugins/modules/cohesity_sync_objects.py b/plugins/modules/cohesity_sync_objects.py index 9c3a020..00e3a0f 100644 --- a/plugins/modules/cohesity_sync_objects.py +++ b/plugins/modules/cohesity_sync_objects.py @@ -66,7 +66,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Sync objects available in the VM migration task -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -154,7 +154,7 @@ def sync_objects(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } body = { "restoreTaskId": self["task_id"], diff --git a/plugins/modules/cohesity_uda_protection_group.py b/plugins/modules/cohesity_uda_protection_group.py index 4a0f23c..e62e1c2 100644 --- a/plugins/modules/cohesity_uda_protection_group.py +++ b/plugins/modules/cohesity_uda_protection_group.py @@ -199,7 +199,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: Management of Cohesity UDA Protection Groups -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -455,7 +455,7 @@ def create_group(module, self, body): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } response = open_url( url=uri, diff --git a/plugins/modules/cohesity_uda_source.py b/plugins/modules/cohesity_uda_source.py index 46e5808..3ab1f92 100644 --- a/plugins/modules/cohesity_uda_source.py +++ b/plugins/modules/cohesity_uda_source.py @@ -128,7 +128,7 @@ extends_documentation_fragment: - cohesity.dataprotect.cohesity short_description: "Management of UDA Protection Sources" -version_added: 1.1.7 +version_added: 1.1.8 """ EXAMPLES = """ @@ -218,7 +218,7 @@ def register_source(module, self): headers = { "Accept": "application/json", "Authorization": "Bearer " + token, - "user-agent": "cohesity-ansible/v1.1.7", + "user-agent": "cohesity-ansible/v1.1.8", } payload = dict( environment="kUDA", diff --git a/plugins/modules/cohesity_view.py b/plugins/modules/cohesity_view.py index 26527f4..1f5e470 100644 --- a/plugins/modules/cohesity_view.py +++ b/plugins/modules/cohesity_view.py @@ -14,7 +14,7 @@ short_description: Management of Cohesity View description: - Ansible Module to create View. -version_added: 1.1.7 +version_added: 1.1.8 author: "Naveena (@naveena-maplelabs)" options: case_insensitive: @@ -460,7 +460,7 @@ def main(): global cohesity_client base_controller = BaseController() - base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.7" + base_controller.global_headers["user-agent"] = "cohesity-ansible/v1.1.8" cohesity_client = get_cohesity_client(module) view_exists, view_details = get_view_details(module) diff --git a/plugins/modules/cohesity_win_agent.py b/plugins/modules/cohesity_win_agent.py index 6540684..48894b9 100644 --- a/plugins/modules/cohesity_win_agent.py +++ b/plugins/modules/cohesity_win_agent.py @@ -17,7 +17,7 @@ - When executed in a playbook, the Cohesity Agent installation will be validated and the appropriate - state action will be applied. The most recent version of the Cohesity Agent will be automatically - downloaded to the host. -version_added: 1.1.7 +version_added: 1.1.8 author: "Naveena (@naveena-maplelabs)" options: cluster: