Import-AzureRmMlWebService
Imports a JSON object into a web service definition.
Warning
The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.
Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.
Syntax
Import-AzureRmMlWebService
-InputFile <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Import-AzureRmMlWebService
-JsonString <String>
[-DefaultProfile <IAzureContextContainer>]
[<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
Import-AzureRmMlWebService -JsonString $jsonDefinition
Example 2: Import from file path
Import-AzureRmMlWebService -InputFile "C:\mlservice.json"
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | 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