Skip to content

Commit c97d43a

Browse files
authored
Add extra API parameters for CDW data visualization (#87)
Signed-off-by: Jim Enright <[email protected]>
1 parent 78040b5 commit c97d43a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cdpy/dw.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ def create_cluster(self, env_crn: str, overlay: bool, aws_lb_subnets: list = Non
143143
]
144144
)
145145

146-
def create_data_visualization(self, cluster_id: str, name: str, config: dict = None):
146+
def create_data_visualization(self, cluster_id: str, name: str, config: dict = None,
147+
template_name: str = None, image_version: str = None):
147148
return self.sdk.call(
148149
svc='dw', func='create_data_visualization', ret_field='dataVisualizationId',
149150
squelch=[
@@ -152,6 +153,8 @@ def create_data_visualization(self, cluster_id: str, name: str, config: dict = N
152153
clusterId=cluster_id,
153154
name=name,
154155
config=config,
156+
templateName = template_name,
157+
imageVersion = image_version
155158
)
156159

157160
def delete_cluster(self, cluster_id: str, force: bool = False):

0 commit comments

Comments
 (0)