你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedEnvironment Class

An environment for hosting container apps.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

ManagedEnvironment(*, ___location: str, tags: Dict[str, str] | None = None, kind: str | None = None, identity: _models.ManagedServiceIdentity | None = None, dapr_ai_instrumentation_key: str | None = None, dapr_ai_connection_string: str | None = None, vnet_configuration: _models.VnetConfiguration | None = None, app_logs_configuration: _models.AppLogsConfiguration | None = None, zone_redundant: bool | None = None, custom_domain_configuration: _models.CustomDomainConfiguration | None = None, workload_profiles: List[_models.WorkloadProfile] | None = None, keda_configuration: _models.KedaConfiguration | None = None, dapr_configuration: _models.DaprConfiguration | None = None, infrastructure_resource_group: str | None = None, peer_authentication: _models.ManagedEnvironmentPropertiesPeerAuthentication | None = None, peer_traffic_configuration: _models.ManagedEnvironmentPropertiesPeerTrafficConfiguration | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
___location
str

The geo-___location where the resource lives. Required.

kind
str

Kind of the Environment.

Default value: None
identity

Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.

Default value: None
dapr_ai_instrumentation_key
str

Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.

Default value: None
dapr_ai_connection_string
str

Application Insights connection string used by Dapr to export Service to Service communication telemetry.

Default value: None
vnet_configuration

Vnet configuration for the environment.

Default value: None
app_logs_configuration

Cluster configuration which enables the log daemon to export app logs to configured destination.

Default value: None
zone_redundant

Whether or not this Managed Environment is zone-redundant.

Default value: None
custom_domain_configuration

Custom ___domain configuration for the environment.

Default value: None
workload_profiles

Workload profiles configured for the Managed Environment.

Default value: None
keda_configuration

The configuration of Keda component.

Default value: None
dapr_configuration

The configuration of Dapr component.

Default value: None
infrastructure_resource_group
str

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.

Default value: None
peer_authentication

Peer authentication settings for the Managed Environment.

Default value: None
peer_traffic_configuration

Peer traffic settings for the Managed Environment.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

___location
str

The geo-___location where the resource lives. Required.

kind
str

Kind of the Environment.

identity

Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.

provisioning_state

Provisioning state of the Environment. Known values are: "Succeeded", "Failed", "Canceled", "Waiting", "InitializationInProgress", "InfrastructureSetupInProgress", "InfrastructureSetupComplete", "ScheduledForDelete", "UpgradeRequested", and "UpgradeFailed".

dapr_ai_instrumentation_key
str

Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.

dapr_ai_connection_string
str

Application Insights connection string used by Dapr to export Service to Service communication telemetry.

vnet_configuration

Vnet configuration for the environment.

deployment_errors
str

Any errors that occurred during deployment or deployment validation.

default_domain
str

Default Domain Name for the cluster.

static_ip
str

Static IP of the Environment.

app_logs_configuration

Cluster configuration which enables the log daemon to export app logs to configured destination.

zone_redundant

Whether or not this Managed Environment is zone-redundant.

custom_domain_configuration

Custom ___domain configuration for the environment.

event_stream_endpoint
str

The endpoint of the eventstream of the Environment.

workload_profiles

Workload profiles configured for the Managed Environment.

keda_configuration

The configuration of Keda component.

dapr_configuration

The configuration of Dapr component.

infrastructure_resource_group
str

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.

peer_authentication

Peer authentication settings for the Managed Environment.

peer_traffic_configuration

Peer traffic settings for the Managed Environment.