managed_environment_diagnostics
Creates, updates, deletes, gets or lists a managed_environment_diagnostics resource.
Overview
| Name | managed_environment_diagnostics |
| Type | Resource |
| Id | azure.app_containers.managed_environment_diagnostics |
Fields
The following fields are returned by SELECT queries:
- get_detector
- list_detectors
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
dataProviderMetadata | object | List of data providers' metadata. |
dataset | array | Set of data collections associated with the response. |
metadata | object | Metadata of the diagnostics response. |
status | object | Status of the diagnostics response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
dataProviderMetadata | object | List of data providers' metadata. |
dataset | array | Set of data collections associated with the response. |
metadata | object | Metadata of the diagnostics response. |
status | object | Status of the diagnostics response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_detector | select | resource_group_name, environment_name, detector_name, subscription_id | Get the diagnostics data for a given Managed Environment. Get the diagnostics data for a Managed Environment used to host container apps. | |
list_detectors | select | resource_group_name, environment_name, subscription_id | Get the list of diagnostics for a given Managed Environment. Get 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.
| Name | Datatype | Description |
|---|---|---|
detector_name | string | Name of the detector. Required. |
environment_name | string | Name of the Managed Environment. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get_detector
- list_detectors
Get the diagnostics data for a given Managed Environment. Get the diagnostics data for a Managed Environment used to host container apps.
SELECT
id,
name,
dataProviderMetadata,
dataset,
metadata,
status,
systemData,
type
FROM azure.app_containers.managed_environment_diagnostics
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND environment_name = '{{ environment_name }}' -- required
AND detector_name = '{{ detector_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get the list of diagnostics for a given Managed Environment. Get the list of diagnostics for a Managed Environment used to host container apps.
SELECT
id,
name,
dataProviderMetadata,
dataset,
metadata,
status,
systemData,
type
FROM azure.app_containers.managed_environment_diagnostics
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND environment_name = '{{ environment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;