Partager via


ManagedEnvironment Class

Definition

An environment for hosting container apps

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentTypeConverter))]
public class ManagedEnvironment : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironment, Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedEnvironmentTypeConverter))>]
type ManagedEnvironment = class
    interface IManagedEnvironment
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class ManagedEnvironment
Implements IManagedEnvironment, IValidates
Inheritance
ManagedEnvironment
Attributes
Implements

Constructors

ManagedEnvironment()

Creates an new ManagedEnvironment instance.

Properties

AppLogConfigurationDestination

Logs destination, can be 'log-analytics', 'azure-monitor' or 'none'

CustomDomainConfigurationCertificatePassword

Certificate password.

CustomDomainConfigurationCertificateValue

PFX or PEM blob

CustomDomainConfigurationCustomDomainVerificationId

Id used to verify domain name ownership

CustomDomainConfigurationDnsSuffix

Dns suffix for the environment domain

CustomDomainConfigurationExpirationDate

Certificate expiration date.

CustomDomainConfigurationSubjectName

Subject name of the certificate.

CustomDomainConfigurationThumbprint

Certificate thumbprint.

DaprAiConnectionString

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

DaprAiInstrumentationKey

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

DaprConfigurationVersion

The version of Dapr

DefaultDomain

Default Domain Name for the cluster

DeploymentError

Any errors that occurred during deployment or deployment validation

EventStreamEndpoint

The endpoint of the eventstream of the Environment.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

InfrastructureResourceGroup

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.

KedaConfigurationVersion

The version of Keda

Kind

Kind of the Environment.

Location

The geo-location where the resource lives

LogAnalyticConfigurationCustomerId

Log analytics customer id

LogAnalyticConfigurationSharedKey

Log analytics customer key

MtlEnabled

Boolean indicating whether the mutual TLS authentication is enabled

Name

The name of the resource

ProvisioningState

Provisioning state of the Environment.

ResourceGroupName

Gets the resource group name

StaticIP

Static IP of the Environment

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

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

VnetConfigurationDockerBridgeCidr

CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.

VnetConfigurationInfrastructureSubnetId

Resource ID of a subnet for infrastructure components. Must not overlap with any other provided IP ranges.

VnetConfigurationInternal

Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide infrastructureSubnetId if enabling this property

VnetConfigurationPlatformReservedCidr

IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.

VnetConfigurationPlatformReservedDnsIP

An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.

WorkloadProfile

Workload profiles configured for the Managed Environment.

ZoneRedundant

Whether or not this Managed Environment is zone-redundant.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedEnvironment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedEnvironment.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedEnvironment.

FromJsonString(String)

Creates a new instance of ManagedEnvironment, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedEnvironment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to