Remove-​Azure​Rm​Ml​Web​Service

Removes an Azure Machine Learning web service resource.

Syntax

Remove-AzureRmMlWebService
      -ResourceGroupName <String>
      -Name <String>
      [-Force]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]
Remove-AzureRmMlWebService
      [-Force]
      -MlWebService <WebService>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-AzureRmMlWebService cmdlet removes the Azure Machine Learning web service resource referenced by resource group and name.

To determine the resource group name of an existing web service, run the Get-AzureRmMlWebService cmdlet to display the web services in your subscription. Locate the web service, and then look at its web service ID. The name of the resource group is the fourth element in the ID, just after the resourceGroups element. In the following example the resource group name is Default-MachineLearning-SouthCentralUS.

Properties : Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebServicePropertiesForGraph Id : /subscriptions/\<subscription ID\>/resourceGroups/Default-MachineLearning-SouthCentralUS/providers/Microsoft.MachineLearning/webServices/Sample5TrainTest.2016.7.22.15.46.31.322 Name : Sample5TrainTest.2016.7.22.15.46.31.322 Location : South Central US Type : Microsoft.MachineLearning/webServices Tags : {}

Alternatively, to determine the resource group name of an existing web service, log on to the Microsoft Azure Machine Learning Web Services portal. Select the web service. The resource group name is the fifth element of the URL of the web service, just after the resourceGroups element. In the following example the resource group name is Default-MachineLearning-SouthCentralUS.

https://services.azureml.net/subscriptions/\<subcription ID\>/resourceGroups/Default-MachineLearning-SouthCentralUS/providers/Microsoft.MachineLearning/webServices/Sample5TrainTest.2016.7.22.15.46.31.322

Examples

Example 1: Remove an Azure Machine Learning web service resource

PS C:\>Remove-AzureRmMlWebService -ResourceGroupName "RG001" -Name "WebService001"

This command removes the Azure Machine Learning web service named WebService001 that belongs to the resource group named RG001.

Required Parameters

-MlWebService

Specifies an instance of the web service that this cmdlet removes. This parameter can be piped as input.

Type:WebService
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of the web service resource that this cmdlet removes.

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

Specifies the resource group that the web service belongs to.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Notes

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