account_detectors
Creates, updates, deletes, gets or lists an account_detectors resource.
Overview
| Name | account_detectors |
| Type | Resource |
| Id | azure.batch.account_detectors |
Fields
The following fields are returned by SELECT queries:
- get
- list
The operation was successful. The response contains information about the given detector associated with a Batch account.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the resource. |
name | string | The name of the resource. |
etag | string | The ETag of the resource, used for concurrency statements. |
properties | object | The properties associated with the detector. |
tags | object | The tags of the resource. |
type | string | The type of the resource. |
The operation was successful. The response contains a list of detectors associated with a Batch account.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the resource. |
name | string | The name of the resource. |
etag | string | The ETag of the resource, used for concurrency statements. |
properties | object | The properties associated with the detector. |
tags | object | The tags of the resource. |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, subscriptionId, accountName, detectorId | Gets information about the given detector for a given Batch account. | |
list | select | resourceGroupName, subscriptionId, accountName | Gets 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.
| Name | Datatype | Description |
|---|---|---|
accountName | string | The name of the Batch account. |
detectorId | string | The name of the detector. |
resourceGroupName | string | The name of the resource group that contains the Batch account. |
subscriptionId | string | The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) |
SELECT examples
- get
- list
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
;
Gets information about the detectors available 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
;