workspace_named_value_values
Creates, updates, deletes, gets or lists a workspace_named_value_values resource.
Overview
| Name | workspace_named_value_values |
| Type | Resource |
| Id | azure.api_management.workspace_named_value_values |
Fields
The following fields are returned by SELECT queries:
- list
The response body contains the specified named value secret.
| Name | Datatype | Description |
|---|---|---|
value | string | This is secret value of the NamedValue entity. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceGroupName, serviceName, workspaceId, namedValueId, subscriptionId | Gets 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.
| Name | Datatype | Description |
|---|---|---|
namedValueId | string | Identifier of the NamedValue. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
workspaceId | string | Workspace identifier. Must be unique in the current API Management service instance. |
SELECT examples
- list
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
;