Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ venv*
build/
dist
.python-version
.vscode/
4 changes: 4 additions & 0 deletions yandexcloud/_wrappers/dataproc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def create_cluster(
initialization_actions=None,
oslogin_enabled=False,
labels=None,
autoscaling_service_account_id=None,
):
"""
Create Yandex.Cloud Data Proc cluster.
Expand Down Expand Up @@ -190,6 +191,8 @@ def create_cluster(
:type oslogin_enabled: bool
:param labels: Cluster labels as key:value pairs. No more than 64 per resource.
:type labels: Dict[str, str]
:param autoscaling_service_account_id: Service account to be used by the Instance Groups service.
:type autoscaling_service_account_id: str

:return: Cluster ID
:rtype: str
Expand Down Expand Up @@ -312,6 +315,7 @@ def create_cluster(
security_group_ids=security_group_ids,
log_group_id=log_group_id,
labels=labels,
autoscaling_service_account_id=autoscaling_service_account_id,
)
result = self.sdk.create_operation_and_get_result(
request,
Expand Down
Loading