Skip to content

Latest commit

 

History

History
101 lines (75 loc) · 2.55 KB

Import-AzMlWebService.md

File metadata and controls

101 lines (75 loc) · 2.55 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.MachineLearning.dll-Help.xml
Az.MachineLearning
2.0.0

Import-AzMlWebService

SYNOPSIS

Imports a JSON object into a web service definition.

SYNTAX

ImportFromJSONFile

Import-AzMlWebService -InputFile <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

ImportFromJSONString.

Import-AzMlWebService -JsonString <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

Example 1: Import from string

Import-AzMlWebService -JsonString $jsonDefinition

Example 2: Import from file path

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

PARAMETERS

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

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

-InputFile

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

Type: System.String
Parameter Sets: ImportFromJSONFile
Aliases:

Required: True
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: System.String
Parameter Sets: ImportFromJSONString.
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None

OUTPUTS

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

NOTES

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

RELATED LINKS