Import-AzMlWebService
Imports a JSON object into a web service definition.
Syntax
Import-AzMlWebService
-InputFile <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
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: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputFile
The path to the file containing the web service definition to import.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService
Notes
Keywords: azure, azurerm, arm, resource, management, manager, machine, machine learning, azureml
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell