Skip to main content

managed_environments_diagnostics

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

Overview

Namemanaged_environments_diagnostics
TypeResource
Idazure.app_containers.managed_environments_diagnostics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
appLogsConfigurationobjectCluster configuration which enables the log daemon to export app logs to configured destination.
customDomainConfigurationobjectCustom domain configuration for the environment.
daprAIConnectionStringstringApplication Insights connection string used by Dapr to export Service to Service communication telemetry.
daprAIInstrumentationKeystringAzure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
daprConfigurationobjectThe configuration of Dapr component.
defaultDomainstringDefault Domain Name for the cluster.
deploymentErrorsstringAny errors that occurred during deployment or deployment validation.
eventStreamEndpointstringThe endpoint of the eventstream of the Environment.
identityobjectThe managed service identities assigned to this resource.
infrastructureResourceGroupstringName 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.
ingressConfigurationobjectIngress configuration for the Managed Environment.
kedaConfigurationobjectThe configuration of Keda component.
kindstringKind of the Environment.
locationstringThe geo-location where the resource lives. Required.
peerAuthenticationobjectPeer authentication settings for the Managed Environment.
peerTrafficConfigurationobjectPeer traffic settings for the Managed Environment.
privateEndpointConnectionsarrayPrivate endpoint connections to the resource.
provisioningStatestringProvisioning 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)
publicNetworkAccessstringProperty to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled'. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
staticIpstringStatic IP of the Environment.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vnetConfigurationobjectVnet configuration for the environment.
workloadProfilesarrayWorkload profiles configured for the Managed Environment.
zoneRedundantbooleanWhether or not this Managed Environment is zone-redundant.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rootselectresource_group_name, environment_name, subscription_idGet 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.

NameDatatypeDescription
environment_namestringName of the Environment. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

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
;