MicrosoftDocs / azure-docs-sdk-python

Azure Python SDK documentation, hosted on docs.microsoft.com.

Home Page:https://docs.microsoft.com/python/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with the argument enable_node_public_ip in the AmlCompute class of SDK v2

bhatsuchi08 opened this issue · comments

Link to the document - https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.entities.amlcompute?view=azure-python

I am trying to use the AML SDK v2 to create a compute cluster with the enable_node_public_ip=False. This results in an error since it appears that this argument was not initialized in the code written for the AmlCompute class as highlighted in the screenshot below. Basically, irrespective of the value for enable_node_public_ip, using this argument explicitly results in a type error.

image

@bhatsuchi08 would you please make sure to use the latest SDK version? enable_node_public_ip parameter was added in the January release.

@jhirono - Thanks! I upgraded to azure-ai-ml 1.3.0 and it all works fine now. :)