An Azure machine learning service for building and deploying models.
@Anonymous With the REST API call you will not be able to extend the expiry time for such a long period or time and it is not advisable to have the authentication open for longer periods with any of the methods to call the API.
However, you can use the SDK with service principal authentication along with environment variables to have your authentication setup for longer periods and call the API using the SDK. Here is a sample notebook with all the authentication methods listed that you can try.
Once this is setup you can call the supported_vmsizes method to get all the supported VMs for your workspace and region.
If an answer is helpful, please click on
or upvote
which might help other community members reading this thread.