< Back

Import-AzureRmMlWebService

Tue Jan 29, 2019 9:52 pm

NAME Import-AzureRmMlWebService



SYNOPSIS

Imports a JSON object into a web service definition.





SYNTAX

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



Import-AzureRmMlWebService [-DefaultProfile <IAzureContextContainer>] -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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputFile <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-JsonString <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

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







NOTES





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



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



Import-AzureRmMlWebService -JsonString $jsonDefinition









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



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











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... webservice