AzureML Classic Workspace New Webservices : New-AzMlWebService Powershell module

Sriram Narayanan 21 Reputation points
2020-11-26T11:25:17.98+00:00

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 Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,564 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,566 Reputation points
    2021-02-10T09:14:10.467+00:00

    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://learn.microsoft.com/en-us/powershell/module/az.machinelearning/new-azmlwebservice?view=azps-5.5.0

    Regards,
    Yutong

    0 comments No comments