managed_environments
Creates, updates, deletes, gets or lists a managed_environments resource.
Overview
| Name | managed_environments |
| Type | Resource |
| Id | azure.app.managed_environments |
Fields
The following fields are returned by SELECT queries:
- get
| 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 a destination. Currently only "log-analytics" is supported. |
daprAIInstrumentationKey | string | Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry. |
defaultDomain | string | Default Domain Name for the cluster. |
deploymentErrors | string | Any errors that occurred during deployment or deployment validation. |
location | string | Required. The geo-location where the resource lives. |
provisioningState | string | Provisioning state of the Environment. Possible values include: "Succeeded", "Failed", "Canceled", "Waiting", "InitializationInProgress", "InfrastructureSetupInProgress", "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", "UpgradeFailed". |
staticIp | string | Static IP of the Environment. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | A set of tags. 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. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Get the properties of a Managed Environment. Get the properties of a Managed Environment used to host container apps. | ||
list_by_subscription | exec | Get all Environments for a subscription. Get all Managed Environments for a subscription. | ||
list_by_resource_group | exec | Get 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.
| Name | Datatype | Description |
|---|
SELECT examples
- get
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
- list_by_subscription
- list_by_resource_group
Get all Environments for a subscription. Get all Managed Environments for a subscription.
EXEC azure.app.managed_environments.list_by_subscription
;
Get all the Environments in a resource group. Get all the Managed Environments in a resource group.
EXEC azure.app.managed_environments.list_by_resource_group
;