Skip to main content

jobs_credentials

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

Overview

Namejobs_credentials
TypeResource
Idazure.data_box.jobs_credentials

Fields

The following fields are returned by SELECT queries:

List of unencrypted credentials of the job.

NameDatatypeDescription
jobNamestringName of the job.
jobSecretsobjectSecrets related to this job.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, jobNameThis method gets the unencrypted secrets related to 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 within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
resourceGroupNamestringThe Resource Group Name
subscriptionIdstringThe Subscription Id

SELECT examples

This method gets the unencrypted secrets related to the job.

SELECT
jobName,
jobSecrets
FROM azure.data_box.jobs_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND jobName = '{{ jobName }}' -- required
;