Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/cdpy/dw.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def create_cluster(self, env_crn: str, overlay: bool, aws_lb_subnets: list = Non
)

def create_data_visualization(self, cluster_id: str, name: str, config: dict = None,
template_name: str = None, image_version: str = None):
resource_template: str = None, image_version: str = None):
return self.sdk.call(
svc='dw', func='create_data_visualization', ret_field='dataVisualizationId',
squelch=[
Expand All @@ -161,7 +161,7 @@ def create_data_visualization(self, cluster_id: str, name: str, config: dict = N
clusterId=cluster_id,
name=name,
config=config,
templateName = template_name,
resourceTemplate = resource_template,
imageVersion = image_version
)

Expand Down Expand Up @@ -195,7 +195,7 @@ def update_data_visualization(self, cluster_id: str, data_viz_id: str, config: d
config=config,
)

def create_vw(self, cluster_id: str, dbc_id: str, vw_type: str, name: str, template: str = None,
def create_vw(self, cluster_id: str, dbc_id: str, vw_type: str, name: str, tshirt_size: str = None,
autoscaling_min_cluster: int = None, autoscaling_max_cluster: int = None,
autoscaling_auto_suspend_timeout_seconds: int = None, autoscaling_disable_auto_suspend: bool = None,
autoscaling_hive_desired_free_capacity: int = None, autoscaling_hive_scale_wait_time_seconds: int = None,
Expand Down Expand Up @@ -262,7 +262,7 @@ def create_vw(self, cluster_id: str, dbc_id: str, vw_type: str, name: str, templ

return self.sdk.call(
svc='dw', func='create_vw', ret_field='vwId', clusterId=cluster_id, dbcId=dbc_id,
vwType=vw_type, name=name, template=template, autoscaling=autoscaling, config=config,
vwType=vw_type, name=name, tShirtSize=tshirt_size, autoscaling=autoscaling, config=config,
tags=tag_list, enableUnifiedAnalytics=enable_unified_analytics,
platformJwtAuth=enable_platform_jwt_auth, impalaHaSettings=impala_ha_settings,
squelch=[
Expand Down