Skip to main content

online_endpoints_tokens

Creates, updates, deletes, gets or lists an online_endpoints_tokens resource.

Overview

Nameonline_endpoints_tokens
TypeResource
Idazure.ml_services.online_endpoints_tokens

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
accessTokenstringAccess token for endpoint authentication.
expiryTimeUtcinteger (int64)Access token expiry time (UTC).
refreshAfterTimeUtcinteger (int64)Refresh access token after time (UTC).
tokenTypestringAccess token type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, endpointName

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
endpointNamestringOnline Endpoint name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringAzure Machine Learning Workspace Name

SELECT examples

Success

SELECT
accessToken,
expiryTimeUtc,
refreshAfterTimeUtc,
tokenType
FROM azure.ml_services.online_endpoints_tokens
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND endpointName = '{{ endpointName }}' -- required
;