Class ManagedEnvironmentInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.appcontainers.fluent.models.ManagedEnvironmentInner
-
public final class ManagedEnvironmentInner extends com.azure.core.management.Resource
An environment for hosting container apps.
-
-
Constructor Summary
Constructors Constructor Description ManagedEnvironmentInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppLogsConfiguration
appLogsConfiguration()
Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.String
daprAIConnectionString()
Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.String
daprAIInstrumentationKey()
Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.String
defaultDomain()
Get the defaultDomain property: Default Domain Name for the cluster.String
deploymentErrors()
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.EnvironmentProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the Environment.String
staticIp()
Get the staticIp property: Static IP of the Environment.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.VnetConfiguration
vnetConfiguration()
Get the vnetConfiguration property: Vnet configuration for the environment.ManagedEnvironmentInner
withAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration)
Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination.ManagedEnvironmentInner
withDaprAIConnectionString(String daprAIConnectionString)
Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.ManagedEnvironmentInner
withDaprAIInstrumentationKey(String daprAIInstrumentationKey)
Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.ManagedEnvironmentInner
withLocation(String location)
ManagedEnvironmentInner
withTags(Map<String,String> tags)
ManagedEnvironmentInner
withVnetConfiguration(VnetConfiguration vnetConfiguration)
Set the vnetConfiguration property: Vnet configuration for the environment.ManagedEnvironmentInner
withZoneRedundant(Boolean zoneRedundant)
Set the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.Boolean
zoneRedundant()
Get the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
public ManagedEnvironmentInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public ManagedEnvironmentInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
public EnvironmentProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Environment.- Returns:
- the provisioningState value.
-
daprAIInstrumentationKey
public String daprAIInstrumentationKey()
Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.- Returns:
- the daprAIInstrumentationKey value.
-
withDaprAIInstrumentationKey
public ManagedEnvironmentInner withDaprAIInstrumentationKey(String daprAIInstrumentationKey)
Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.- Parameters:
daprAIInstrumentationKey
- the daprAIInstrumentationKey value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
daprAIConnectionString
public String daprAIConnectionString()
Get the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.- Returns:
- the daprAIConnectionString value.
-
withDaprAIConnectionString
public ManagedEnvironmentInner withDaprAIConnectionString(String daprAIConnectionString)
Set the daprAIConnectionString property: Application Insights connection string used by Dapr to export Service to Service communication telemetry.- Parameters:
daprAIConnectionString
- the daprAIConnectionString value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
vnetConfiguration
public VnetConfiguration vnetConfiguration()
Get the vnetConfiguration property: Vnet configuration for the environment.- Returns:
- the vnetConfiguration value.
-
withVnetConfiguration
public ManagedEnvironmentInner withVnetConfiguration(VnetConfiguration vnetConfiguration)
Set the vnetConfiguration property: Vnet configuration for the environment.- Parameters:
vnetConfiguration
- the vnetConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
deploymentErrors
public String deploymentErrors()
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.- Returns:
- the deploymentErrors value.
-
defaultDomain
public String defaultDomain()
Get the defaultDomain property: Default Domain Name for the cluster.- Returns:
- the defaultDomain value.
-
staticIp
public String staticIp()
Get the staticIp property: Static IP of the Environment.- Returns:
- the staticIp value.
-
appLogsConfiguration
public AppLogsConfiguration appLogsConfiguration()
Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.- Returns:
- the appLogsConfiguration value.
-
withAppLogsConfiguration
public ManagedEnvironmentInner withAppLogsConfiguration(AppLogsConfiguration appLogsConfiguration)
Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.- Parameters:
appLogsConfiguration
- the appLogsConfiguration value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
public ManagedEnvironmentInner withZoneRedundant(Boolean zoneRedundant)
Set the zoneRedundant property: Whether or not this Managed Environment is zone-redundant.- Parameters:
zoneRedundant
- the zoneRedundant value to set.- Returns:
- the ManagedEnvironmentInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-