Get-AzMlWebServiceKey
Retrieves the web service's keys.
Syntax
GetByNameAndResourceGroup
Get-AzMlWebServiceKey
-ResourceGroupName <String>
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
GetByInstance
Get-AzMlWebServiceKey
-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-AzMlWebServiceKey -ResourceGroupName "myresourcegroup" -Name "mywebservicename"
Example 2 - Get keys for web service instance
Get-AzMlWebServiceKey -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
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-MlWebService
The name of the web service for which the access keys are retrieved.
Parameter properties
| Type: | Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
GetByInstance
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
The name of the web service for which the access keys are retrieved.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
GetByNameAndResourceGroup
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ResourceGroupName
The resource group for the web service.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
GetByNameAndResourceGroup
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebService
Outputs
Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebServiceKeys
Notes
Keywords: azure, azurerm, arm, resource, management, manager, machine, machine learning, azureml