managed_environments_diagnostics
Creates, updates, deletes, gets or lists a managed_environments_diagnostics resource.
Overview
| Name | managed_environments_diagnostics |
| Type | Resource |
| Id | azure.app_containers.managed_environments_diagnostics |
Fields
The following fields are returned by SELECT queries:
- get_root
| 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. |
appLogsConfiguration | object | Cluster configuration which enables the log daemon to export app logs to configured destination. |
customDomainConfiguration | object | Custom domain configuration for the environment. |
daprAIConnectionString | string | Application Insights connection string used by Dapr to export Service to Service communication telemetry. |
daprAIInstrumentationKey | string | Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry. |
daprConfiguration | object | The configuration of Dapr component. |
defaultDomain | string | Default Domain Name for the cluster. |
deploymentErrors | string | Any errors that occurred during deployment or deployment validation. |
eventStreamEndpoint | string | The endpoint of the eventstream of the Environment. |
identity | object | The managed service identities assigned to this resource. |
infrastructureResourceGroup | string | Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet. |
ingressConfiguration | object | Ingress configuration for the Managed Environment. |
kedaConfiguration | object | The configuration of Keda component. |
kind | string | Kind of the Environment. |
location | string | The geo-location where the resource lives. Required. |
peerAuthentication | object | Peer authentication settings for the Managed Environment. |
peerTrafficConfiguration | object | Peer traffic settings for the Managed Environment. |
privateEndpointConnections | array | Private endpoint connections to the resource. |
provisioningState | string | Provisioning state of the Environment. Known values are: "Succeeded", "Failed", "Canceled", "Waiting", "InitializationInProgress", "InfrastructureSetupInProgress", "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", and "UpgradeFailed". (Succeeded, Failed, Canceled, Waiting, InitializationInProgress, InfrastructureSetupInProgress, InfrastructureSetupComplete, ScheduledForDelete, UpgradeRequested, UpgradeFailed) |
publicNetworkAccess | string | Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled'. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
staticIp | string | Static IP of the Environment. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vnetConfiguration | object | Vnet configuration for the environment. |
workloadProfiles | array | Workload profiles configured for the Managed Environment. |
zoneRedundant | boolean | Whether or not this Managed Environment is zone-redundant. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_root | select | resource_group_name, environment_name, subscription_id | Get the properties of a Managed Environment. Get the properties of 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 |
|---|---|---|
environment_name | string | Name of the Environment. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get_root
Get the properties of a Managed Environment. Get the properties of a Managed Environment used to host container apps.
SELECT
id,
name,
appLogsConfiguration,
customDomainConfiguration,
daprAIConnectionString,
daprAIInstrumentationKey,
daprConfiguration,
defaultDomain,
deploymentErrors,
eventStreamEndpoint,
identity,
infrastructureResourceGroup,
ingressConfiguration,
kedaConfiguration,
kind,
location,
peerAuthentication,
peerTrafficConfiguration,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
staticIp,
systemData,
tags,
type,
vnetConfiguration,
workloadProfiles,
zoneRedundant
FROM azure.app_containers.managed_environments_diagnostics
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND environment_name = '{{ environment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;