Skip to main content

web_services_keys

Creates, updates, deletes, gets or lists a web_services_keys resource.

Overview

Nameweb_services_keys
TypeResource
Idazure.machine_learning.web_services_keys

Fields

The following fields are returned by SELECT queries:

Success.

NameDatatypeDescription
primarystringThe primary access key.
secondarystringThe secondary access key.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, webServiceName, subscriptionIdGets the access keys for the specified web service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringName of the resource group in which the web service is located.
subscriptionIdstringThe Azure subscription ID.
webServiceNamestringThe name of the web service.

SELECT examples

Gets the access keys for the specified web service.

SELECT
primary,
secondary
FROM azure.machine_learning.web_services_keys
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND webServiceName = '{{ webServiceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;