Skip to main content

managed_environments

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

Overview

Namemanaged_environments
TypeResource
Idazure.app.managed_environments

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 a destination. Currently only "log-analytics" is supported.
daprAIInstrumentationKeystringAzure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
defaultDomainstringDefault Domain Name for the cluster.
deploymentErrorsstringAny errors that occurred during deployment or deployment validation.
locationstringRequired. The geo-location where the resource lives.
provisioningStatestringProvisioning state of the Environment. Possible values include: "Succeeded", "Failed", "Canceled", "Waiting", "InitializationInProgress", "InfrastructureSetupInProgress", "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", "UpgradeFailed".
staticIpstringStatic IP of the Environment.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectA set of tags. Resource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vnetConfigurationobjectVnet configuration for the environment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet the properties of a Managed Environment. Get the properties of a Managed Environment used to host container apps.
list_by_subscriptionexecGet all Environments for a subscription. Get all Managed Environments for a subscription.
list_by_resource_groupexecGet all the Environments in a resource group. Get all the Managed Environments in a resource group.

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

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,
daprAIInstrumentationKey,
defaultDomain,
deploymentErrors,
location,
provisioningState,
staticIp,
systemData,
tags,
type,
vnetConfiguration
FROM azure.app.managed_environments
;

Lifecycle Methods

Get all Environments for a subscription. Get all Managed Environments for a subscription.

EXEC azure.app.managed_environments.list_by_subscription 

;