Skip to main content

workspace_named_value_values

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

Overview

Nameworkspace_named_value_values
TypeResource
Idazure.api_management.workspace_named_value_values

Fields

The following fields are returned by SELECT queries:

The response body contains the specified named value secret.

NameDatatypeDescription
valuestringThis is secret value of the NamedValue entity.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, serviceName, workspaceId, namedValueId, subscriptionIdGets the secret of the named value specified by its identifier.

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
namedValueIdstringIdentifier of the NamedValue.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
workspaceIdstringWorkspace identifier. Must be unique in the current API Management service instance.

SELECT examples

Gets the secret of the named value specified by its identifier.

SELECT
value
FROM azure.api_management.workspace_named_value_values
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND workspaceId = '{{ workspaceId }}' -- required
AND namedValueId = '{{ namedValueId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;