Skip to main content

job_env_secrets

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

Overview

Namejob_env_secrets
TypeResource
Idazure.spring_apps.job_env_secrets

Fields

The following fields are returned by SELECT queries:

Success. The response describes the sensitive environment variables of the Job.

NameDatatypeDescription
namestringSecret Name.
valuestringSecret Value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, serviceName, jobNameList sensitive environment variables of the Job.

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
jobNamestringThe name of the Job resource.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

List sensitive environment variables of the Job.

SELECT
name,
value
FROM azure.spring_apps.job_env_secrets
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND jobName = '{{ jobName }}' -- required
;