Import-​Azure​Rm​Ml​Web​Service

Imports a JSON object into a web service definition.

Syntax

Import-AzureRmMlWebService
      -InputFile <String>
      [<CommonParameters>]
Import-AzureRmMlWebService
      -JsonString <String>
      [<CommonParameters>]

Description

The Import-AzureRmMlWebService cmdlet imports , specified either directly or in a referenced file, and creates a web service definition object that can be passed to the New-AzureRmMlWebService cmdlet.

Examples

-------------------------- Example 1: Import from string --------------------------

@{paragraph=PS C:\>}

Import-AzureRmMlWebService -JsonString $jsonDefinition

-------------------------- Example 2: Import from file path --------------------------

@{paragraph=PS C:\>}

Import-AzureRmMlWebService -InputFile "C:\mlservice.json"

Required Parameters

-InputFile

The path to the file containing the web service definition to import.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JsonString

The JSON formatted string containing the web service definition to import.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService

Notes

Keywords: azure, azurerm, arm, resource, management, manager, machine, machine learning, azureml