Skip to content

Commit 566ba99

Browse files
authored
Merge pull request #194 from dataiku/perso/dss10-sc76604-FM-API-python
[sc-76604] Fix FM API for azure
2 parents 28fe7cb + 5ee48d7 commit 566ba99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dataikuapi/fm/instances.py

Lines changed: 2 additions & 2 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):

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)