question

SriramNarayanan-6939 avatar image
0 Votes"
SriramNarayanan-6939 asked YutongTie-MSFT edited

AzureML Classic Workspace New Webservices : New-AzMlWebService Powershell module

All,
Does anyone know how to use this powershell module to deploy a new webservice in the azure ml classic studio? I am able to deploy an existing experiment to a new webservice from the portal. I am trying to achieve the same using powershell.
Tried this cmdlet but couldnt succeed.
42969-image.png

All I want is to deploy an experiment to a "new" webservice and choose a webservice plan using powershell.(like the following image action in the portal.

42995-image.png


azure-machine-learningazure-machine-learning-studio-classicazure-machine-learning-inference
image.png (35.6 KiB)
image.png (20.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

Thanks for reaching out to us and I have reached out to PG according to this. Will let you know soon if we have any update.

Regards,
Yutong

0 Votes 0 ·

1 Answer

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered YutongTie-MSFT edited

Hello Sriram,

Hope you are doing well. I am sorry for the late response according to this issue. To create a "web service " , you can use below command:
New-AzMlWebService ("new" web services)
New-AmlWebService ("classic" web services)

New-AzMlWebService
-ResourceGroupName <String>
-Location <String>
-Name <String>
-DefinitionFile <String>
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]

More information about this can be found in the guidance:

Samples: https://github.com/hning86/azuremlps#new-amlwebservice

Information:https://docs.microsoft.com/en-us/powershell/module/az.machinelearning/new-azmlwebservice?view=azps-5.5.0

Regards,
Yutong


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.