Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Start/Stop sql protection jobs #51

Closed
MrEuds opened this issue Jul 10, 2024 · 2 comments
Closed

Feature: Start/Stop sql protection jobs #51

MrEuds opened this issue Jul 10, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrEuds
Copy link

MrEuds commented Jul 10, 2024

🚀 Feature Request

Starting or stopping SQL protection jobs with the cohesity_job module.

Reference in cohesity_job

Currently, the only supported environments types are list in the choices:
"VMware", "PhysicalFiles", "Physical", "GenericNas", "View"

For future enhancements, the below list should be consulted (like SQL).

Example or reference

- name: Start sql backup job
  cohesity.dataprotect.cohesity_job:
    cluster: "{{ cluster }}"
    username: "{{ username }}"
    password: "{{ password }}"
    state: started/stopped
    name: sql_server
    environment: SQL
    ondemand_run_type: Regular
    include:
      - {{ db_name/db_id }}]
@darthVikes
Copy link

Same enhancement request, but also add "Oracle" to the list as well.

  • name: Start sql backup job
    cohesity.dataprotect.cohesity_job:
    cluster: "{{ cluster }}"
    username: "{{ username }}"
    password: "{{ password }}"
    state: started/stopped
    name: Oracle
    environment: Oracle
    ondemand_run_type: Regular
    include:
    - {{ db_name/db_id }}]

Error when specifying Oracle as above.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "value of environment must be one of: VMware, PhysicalFiles, Physical, GenericNas, View, got: Oracle"}

Is there a current workaround if its "Oracle" and I need to specify something different or will that also not work currently?

@kavinagrawalcohesity kavinagrawalcohesity added the enhancement New feature or request label Dec 9, 2024
@kavinagrawalcohesity
Copy link
Contributor

@MrEuds @darthVikes Kindly reach out to your accounts team to request for these features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants