Get-AzureRmMlWebServiceKeys
Retrieves the web service's keys.
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
Get-AzureRmMlWebServiceKeys
-ResourceGroupName <String>
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmMlWebServiceKeys
-MlWebService <WebService>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Gets the access keys for the Azure Machine Learning web service's runtime APIs.
Examples
Example 1 - Get the keys for a web service specified by resource group and name
Get-AzureRmMlWebServiceKeys -ResourceGroupName "myresourcegroup" -Name "mywebservicename"
Example 2 - Get keys for web service instance
Get-AzureRmMlWebServiceKeys -MlWebService $mlService
$mlService is an object of type Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService.
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 |
-MlWebService
The name of the web service for which the access keys are retrieved.
Type: | Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the web service for which the access keys are retrieved.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group for the web service.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService
Parameters: MlWebService (ByValue)
Outputs
Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebServiceKeys
Notes
Keywords: azure, azurerm, arm, resource, management, manager, machine, machine learning, azureml