services_test_keys
Creates, updates, deletes, gets or lists a services_test_keys resource.
Overview
| Name | services_test_keys |
| Type | Resource |
| Id | azure.spring_apps.services_test_keys |
Fields
The following fields are returned by SELECT queries:
- list
Success. The response describes the test keys.
| Name | Datatype | Description |
|---|---|---|
enabled | boolean | Indicates whether the test endpoint feature enabled or not |
primaryKey | string | Primary key |
primaryTestEndpoint | string | Primary test endpoint |
secondaryKey | string | Secondary key |
secondaryTestEndpoint | string | Secondary test endpoint |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, serviceName | List test keys for a 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.
| Name | Datatype | Description |
|---|---|---|
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serviceName | string | The name of the Service resource. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- list
List test keys for a Service.
SELECT
enabled,
primaryKey,
primaryTestEndpoint,
secondaryKey,
secondaryTestEndpoint
FROM azure.spring_apps.services_test_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
;