Skip to content

Commit 4018202

Browse files
committed
[sc-76604] Fix FM API for azure
1 parent 28fe7cb commit 4018202

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dataikuapi/fm/instances.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ def with_data_volume_options(
8686
self.data["dataVolumeSizeGB"] = data_volume_size
8787
self.data["dataVolumeSizeMaxGB"] = data_volume_size_max
8888
self.data["dataVolumeIOPS"] = data_volume_IOPS
89-
self.data["dataVolumeEncryption"] = data_volume_encryption.value
90-
self.data["dataVolumeEncryptionKey"] = data_volume_encryption_key
89+
self.data["volumesEncryption"] = data_volume_encryption.value
90+
self.data["volumesEncryptionKey"] = data_volume_encryption_key
9191
return self
9292

9393
def with_cloud_tags(self, cloud_tags):
@@ -144,7 +144,7 @@ def create(self):
144144
return FMAWSInstance(self.client, instance)
145145

146146

147-
class FMAzureInstanceCreator(FMInstanceCreator):
147+
class (FMInstanceCreator):
148148
def create(self):
149149
"""
150150
Create the DSS instance

dataikuapi/fmclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def __init__(
372372
:param str host: Full url of the FM
373373
"""
374374
self.cloud = "Azure"
375-
super(FMClientAWS, self).__init__(
375+
super(FMClientAzure, self).__init__(
376376
host, api_key_id, api_key_secret, tenant_id, extra_headers
377377
)
378378

0 commit comments

Comments
 (0)