-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update VW and Data Viz api parameters #167
base: devel
Are you sure you want to change the base?
Conversation
Signed-off-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
@@ -356,7 +358,7 @@ def main(): | |||
id=dict(type="str"), | |||
name=dict(type="str"), | |||
config=dict(type="dict"), | |||
template_name=dict(type="str"), | |||
template_name=dict(type="str", aliases=["resource_template"]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's swap these -- the old name should be the alias
@@ -71,13 +71,17 @@ | |||
- Required if C(state=present) | |||
type: str | |||
template: | |||
description: The name of deployment template for the Virtual Warehouse | |||
description: | |||
- The name of deployment T-shirt size to use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe reference the "deployment template" as an aside ("i.e. the deployment template")
@@ -600,7 +604,11 @@ def main(): | |||
catalog_id=dict(type="str", aliases=["dbc_id"]), | |||
type=dict(type="str"), | |||
name=dict(type="str"), | |||
template=dict(type="str", choices=["xsmall", "small", "medium", "large"]), | |||
template=dict( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also swap the two
Signed-off-by: Jim Enright <[email protected]>
Following the release of version 0.9.128 of the CDP CLI and API some CDW related parameters have been renamed:
template
has been renamed totShirtSize
. API Docs LinktemplateName
has been renamed toresourceTemplate
. API Docs LinkThis PR handles the parameter renaming in the cloudera.cloud Ansible collection. Requires cloudera-labs/cdpy#106