Skip to main content

managed_environment_diagnostics_detectors

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

Overview

Namemanaged_environment_diagnostics_detectors
TypeResource
Idazure.container_apps.managed_environment_diagnostics_detectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectDiagnostics resource specific properties

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, environmentName, detectorNameGet the diagnostics data for a Managed Environment used to host container apps.
listselectsubscriptionId, resourceGroupName, environmentNameGet the list of diagnostics for a Managed Environment used to host container apps.

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
detectorNamestringName of the Managed Environment detector.
environmentNamestringName of the Environment.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get the diagnostics data for a Managed Environment used to host container apps.

SELECT
properties
FROM azure.container_apps.managed_environment_diagnostics_detectors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND environmentName = '{{ environmentName }}' -- required
AND detectorName = '{{ detectorName }}' -- required
;