Skip to main content

account_detectors

Creates, updates, deletes, gets or lists an account_detectors resource.

Overview

Nameaccount_detectors
TypeResource
Idazure.batch.account_detectors

Fields

The following fields are returned by SELECT queries:

The operation was successful. The response contains information about the given detector associated with a Batch account.

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
etagstringThe ETag of the resource, used for concurrency statements.
propertiesobjectThe properties associated with the detector.
tagsobjectThe tags of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, subscriptionId, accountName, detectorIdGets information about the given detector for a given Batch account.
listselectresourceGroupName, subscriptionId, accountNameGets information about the detectors available for a given Batch account.

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
accountNamestringThe name of the Batch account.
detectorIdstringThe name of the detector.
resourceGroupNamestringThe name of the resource group that contains the Batch account.
subscriptionIdstringThe Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

SELECT examples

Gets information about the given detector for a given Batch account.

SELECT
id,
name,
etag,
properties,
tags,
type
FROM azure.batch.account_detectors
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND accountName = '{{ accountName }}' -- required
AND detectorId = '{{ detectorId }}' -- required
;